Update samy.ps1
This commit is contained in:
16
samy.ps1
16
samy.ps1
@@ -80,7 +80,7 @@ Last changes made should fix the issues we had wen running thi in Windows 11 25H
|
||||
|
||||
.EXAMPLE
|
||||
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com' -UseBasicParsing).Content )) `
|
||||
& ([ScriptBlock]::Create( (iwr 'https://samy.svstools.com' -UseBasicParsing).Content )) `
|
||||
-UseWebhook
|
||||
-WebhookPassword 'pwd'
|
||||
-SiteUID 'site-123'
|
||||
@@ -91,7 +91,7 @@ Last changes made should fix the issues we had wen running thi in Windows 11 25H
|
||||
# Headlessly installs the Datto RMM agent on “Acme Corp” and writes site variables to the registry.
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com' -UseBasicParsing).Content )) `
|
||||
& ([ScriptBlock]::Create( (iwr 'https://samy.svstools.com' -UseBasicParsing).Content )) `
|
||||
-ApiUrl 'https://api.example.com' `
|
||||
-ApiKey 'YourApiKey' `
|
||||
-ApiSecretKey 'YourSecretKey' `
|
||||
@@ -103,7 +103,7 @@ Last changes made should fix the issues we had wen running thi in Windows 11 25H
|
||||
# Headlessly installs the Datto RMM agent on “Acme Corp” and writes site variables to the registry.
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com' -UseBasicParsing).Content )) `
|
||||
& ([ScriptBlock]::Create( (iwr 'https://samy.svstools.com' -UseBasicParsing).Content )) `
|
||||
-UseWebhook `
|
||||
-WebhookPassword 'pwd' `
|
||||
-FetchSites `
|
||||
@@ -113,7 +113,7 @@ Last changes made should fix the issues we had wen running thi in Windows 11 25H
|
||||
# Fetches the full site list via webhook and saves it as JSON to your Desktop.
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com' -UseBasicParsing).Content )) `
|
||||
& ([ScriptBlock]::Create( (iwr 'https://samy.svstools.com' -UseBasicParsing).Content )) `
|
||||
-ApiUrl 'https://api.example.com' `
|
||||
-ApiKey 'YourApiKey' `
|
||||
-ApiSecretKey 'YourSecretKey' `
|
||||
@@ -124,7 +124,7 @@ Last changes made should fix the issues we had wen running thi in Windows 11 25H
|
||||
# Downloads the RMM installer for “Acme Corp” and saves a copy under C:\Temp without running it.
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com' -UseBasicParsing).Content )) `
|
||||
& ([ScriptBlock]::Create( (iwr 'https://samy.svstools.com' -UseBasicParsing).Content )) `
|
||||
-ApiUrl 'https://api.example.com' `
|
||||
-ApiKey 'YourApiKey' `
|
||||
-ApiSecretKey 'YourSecretKey' `
|
||||
@@ -136,10 +136,10 @@ Last changes made should fix the issues we had wen running thi in Windows 11 25H
|
||||
# Shows what would happen when installing the RMM agent, without making any changes.
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create((iwr 'sm.svstools.ca').Content )) -SilentInstall
|
||||
& ([ScriptBlock]::Create((iwr 'samy.svstools.ca').Content )) -SilentInstall
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create((iwr 'sm.svstools.com').Content)) -Cleanup
|
||||
& ([ScriptBlock]::Create((iwr 'samy.svstools.com').Content)) -Cleanup
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create((iwr 'samy.svstools.ca').Content)) -Offboard
|
||||
@@ -157,7 +157,7 @@ if ($ExecutionContext.SessionState.LanguageMode -ne 'FullLanguage' -or
|
||||
if ($PSCommandPath) {
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "`"$PSCommandPath`""
|
||||
} else {
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& { iwr 'https://sm.svstools.com' -UseBasicParsing | iex }"
|
||||
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command "& { iwr 'https://samy.svstools.com' -UseBasicParsing | iex }"
|
||||
}
|
||||
|
||||
exit
|
||||
|
||||
Reference in New Issue
Block a user