Update StackMonkey_Beta.ps1
This commit is contained in:
@@ -7,7 +7,6 @@ Need to pass the N8N variables to the "install-dattormm" in the toolkit
|
||||
|
||||
#>
|
||||
|
||||
|
||||
#endregion changes to be done
|
||||
|
||||
<#
|
||||
@@ -60,20 +59,10 @@ Need to pass the N8N variables to the "install-dattormm" in the toolkit
|
||||
-WhatIf
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create(
|
||||
(iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content
|
||||
)) `
|
||||
-N8nPassword 's3cr3t' `
|
||||
-FetchSitesOnly `
|
||||
-OutputFile 'sites.json'
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content)) -N8nPassword '' -FetchSitesOnly -OutputFile ''
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create(
|
||||
(iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content
|
||||
)) `
|
||||
-N8nPassword 's3cr3t' `
|
||||
-FetchSitesOnly
|
||||
# → writes datto_sites.csv
|
||||
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content )) -N8nPassword 's3cr3t' -FetchSitesOnly
|
||||
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create((iwr 'sm.svstools.ca').Content )) -SilentInstall
|
||||
@@ -81,12 +70,6 @@ Need to pass the N8N variables to the "install-dattormm" in the toolkit
|
||||
.EXAMPLE
|
||||
& ([ScriptBlock]::Create((iwr 'sm.svstools.com').Content)) -Cleanup
|
||||
|
||||
|
||||
.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 {
|
||||
|
||||
Reference in New Issue
Block a user