This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Configures Windows 10 Client OS VSS for SentinelOne. | |
.DESCRIPTION | |
.PARAMETER |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
md c:\\HWID | |
Set-Location c:\\HWID | |
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted | |
Install-Script -Name Get-WindowsAutoPilotInfo | |
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
md c:\\HWID | |
Set-Location c:\\HWID | |
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Unrestricted | |
Install-Script -Name Get-WindowsAutoPilotInfo | |
Get-WindowsAutoPilotInfo.ps1 -OutputFile AutoPilotHWID.csv |