Update StackMonkey.ps1
This commit is contained in:
@@ -52,8 +52,14 @@
|
|||||||
-PushSiteVars
|
-PushSiteVars
|
||||||
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
|
Before i built the Invoke-scriptmonkey
|
||||||
& ([ScriptBlock]::Create( (iwr 'sm.svstools.ca').Content )) -SilentInstall
|
& ([ScriptBlock]::Create( (iwr 'sm.svstools.ca').Content )) -SilentInstall
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
not tested but i thin this is how would call it
|
||||||
|
iex (iwr 'https://your.server/ScriptMonkey.ps1' -UseBasicParsing).Content; Invoke-ScriptMonkey -DattoApiUrl
|
||||||
|
'https://…' -DattoApiKey '…' -DattoApiSecretKey '…' -SiteUID '…' -SiteName '…' -InstallRMM -PushSiteVars"
|
||||||
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
function Invoke-ScriptMonkey {
|
function Invoke-ScriptMonkey {
|
||||||
|
|||||||
Reference in New Issue
Block a user