Skip to content

Instantly share code, notes, and snippets.

View pax8-dkirby's full-sized avatar
💭
I may be slow to respond.

Pax8 Pro Services - Dom Kirby pax8-dkirby

💭
I may be slow to respond.
View GitHub Profile
@pax8-dkirby
pax8-dkirby / Install-SentinelOne.ps1
Created December 15, 2020 16:14
Installs SentinelOne 64-bit via PowerShell
#Enter the SentinelOne site token here, within the quotes.
$SentinelSiteToken = "";
#fill in a publicly available download URl for your SentinelOne *EXE* 64-bit installer here. An Azure blob with a SAS link works well!
$SentinelDownloadUrl = "";
#this folder will be used or created, feel free to change it. This variable should not have a trailing \
$tempPath = "C:\temp\MSPTools";
#the script will save the SentinelOne installer as "S1.exe" in the above named folder
$SentinelPath = "$tempPath\S1.exe";
@pax8-dkirby
pax8-dkirby / SentinelOne-VSSConfig.ps1
Created October 13, 2020 16:10
Configures Windows 10 Client OS VSS for SentinelOne.
<#
.SYNOPSIS
Configures Windows 10 Client OS VSS for SentinelOne.
.DESCRIPTION
.PARAMETER
@pax8-dkirby
pax8-dkirby / FN_Connect-EOCustom.ps1
Created May 18, 2020 22:18
A function that checks for the new Exchange Online Management Shell and will use it if it's available. Otherwise, it falls back to the old connector, but with a warning.
function Connect-EOCustom {
if(Get-Command Connect-ExchangeOnline -ErrorAction SilentlyContinue) {
#The new module is installed
Write-Host "You have the modern management shell installed, it will be used to connect to EO!" -ForegroundColor Green;
Import-Module ExchangeOnlineManagement;
Connect-ExchangeOnline;
} else {
#the new module is not installed
Write-Host "NOTICE: You are not using the modern management shell. The old shell will soon be deprecated, but the script will continue for now." -ForegroundColor Yellow;
Write-Host "It is strongly recommended that you install the new shell using Install-Module -Name ExchangeOnlineManagement" -ForegroundColor Yellow;
@pax8-dkirby
pax8-dkirby / Get-HWID.ps1
Created April 22, 2020 16:43
Get-HWID for Windows 10 Devices
md c:\\HWID
Set-Location c:\\HWID
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
Install-Script -Name Get-WindowsAutoPilotInfo
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv
@pax8-dkirby
pax8-dkirby / Get-AutopilotHWID.ps1
Created January 21, 2020 03:01
Windows 10 Get HWID for Autopilot
md c:\\HWID
Set-Location c:\\HWID
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted
Install-Script -Name Get-WindowsAutoPilotInfo
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv