Update StackMonkey.ps1
This commit is contained in:
@@ -39,9 +39,24 @@
|
|||||||
|
|
||||||
.PARAMETER SaveCopy
|
.PARAMETER SaveCopy
|
||||||
Switch to download the RMM installer executable during the headless DattoRMM install.
|
Switch to download the RMM installer executable during the headless DattoRMM install.
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
# One-liner to silently install DattoRMM via ScriptMonkey:
|
||||||
|
& ([ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content )) `
|
||||||
|
-DattoApiUrl 'https://your-datto-api-url' `
|
||||||
|
-DattoApiKey 'yourKeyHere' `
|
||||||
|
-DattoApiSecretKey 'yourSecretHere' `
|
||||||
|
-SiteUID 'site-uid-value' `
|
||||||
|
-SiteName 'My Client Site' `
|
||||||
|
-InstallRMM `
|
||||||
|
-PushSiteVars
|
||||||
|
|
||||||
|
.EXAMPLE
|
||||||
|
& ([ScriptBlock]::Create( (iwr 'sm.svstools.ca').Content )) -SilentInstall
|
||||||
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
|
function Invoke-ScriptMonkey {
|
||||||
#region ScriptMonkey run silently Entrypoint
|
#region ScriptMonkey run silently Entrypoint
|
||||||
[CmdletBinding(DefaultParameterSetName='UI')]
|
[CmdletBinding(DefaultParameterSetName='UI')]
|
||||||
param(
|
param(
|
||||||
@@ -102,20 +117,15 @@ switch ($PSCmdlet.ParameterSetName) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# If we got here, it's the UI set—launch browser + listener:
|
# If we got here, it's the UI set—launch browser + listener:
|
||||||
|
# ——— UI fallback starts here ———
|
||||||
|
Write-LogHelper "Launching UI" Info Startup
|
||||||
|
|
||||||
|
|
||||||
<# oneliner to silently install DRMM
|
|
||||||
& ( [ScriptBlock]::Create( (iwr 'https://sm.svstools.com/ScriptMonkey.ps1' -UseBasicParsing).Content )) `
|
|
||||||
-DattoApiUrl 'https://your-datto-api-url' `
|
|
||||||
-DattoApiKey 'yourKeyHere' `
|
|
||||||
-DattoApiSecretKey 'yourSecretHere' `
|
|
||||||
-SiteUID 'site-uid-value' `
|
|
||||||
-SiteName 'My Client Site' `
|
|
||||||
-InstallRMM `
|
|
||||||
-PushSiteVars
|
|
||||||
#>
|
|
||||||
|
|
||||||
# STACK = Scripted Tooling for Automated Client Kickoff
|
# STACK = Scripted Tooling for Automated Client Kickoff
|
||||||
# MONKEY = Module-based Onboarding & Next-step Kickoff Engine Yoke
|
# MONKEY = Module-based Onboarding & Next-step Kickoff Engine Yoke
|
||||||
|
|||||||
Reference in New Issue
Block a user