Update StackMonkey.ps1
This commit is contained in:
@@ -175,7 +175,7 @@ switch ($PSCmdlet.ParameterSetName) {
|
|||||||
# ────────────────────────────────────────────
|
# ────────────────────────────────────────────
|
||||||
|
|
||||||
|
|
||||||
<#
|
|
||||||
Install-DattoRMM `
|
Install-DattoRMM `
|
||||||
-ApiUrl $Global:ApiUrl `
|
-ApiUrl $Global:ApiUrl `
|
||||||
-ApiKey $Global:ApiKey `
|
-ApiKey $Global:ApiKey `
|
||||||
@@ -185,19 +185,9 @@ switch ($PSCmdlet.ParameterSetName) {
|
|||||||
-PushSiteVars:$PushSiteVars `
|
-PushSiteVars:$PushSiteVars `
|
||||||
-InstallRMM:$InstallRMM `
|
-InstallRMM:$InstallRMM `
|
||||||
-SaveCopy:$SaveCopy
|
-SaveCopy:$SaveCopy
|
||||||
#>
|
|
||||||
|
|
||||||
$cmd = @(
|
|
||||||
"Install-DattoRMM",
|
|
||||||
"-ApiUrl `'$($Global:ApiUrl)`'",
|
|
||||||
"-ApiKey `'$($Global:ApiKey)`'",
|
|
||||||
"-ApiSecretKey `'$($Global:ApiSecretKey)`'",
|
|
||||||
"-SiteUID `'$SiteUID`'",
|
|
||||||
"-SiteName `'$SiteName`'",
|
|
||||||
"-PushSiteVars:$PushSiteVars",
|
|
||||||
"-InstallRMM:$InstallRMM",
|
|
||||||
"-SaveCopy:$SaveCopy"
|
|
||||||
) -join " "
|
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -205,7 +195,7 @@ switch ($PSCmdlet.ParameterSetName) {
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# STACK = Scripted Tooling for Automated Client Kickoff
|
# STACK = Scripted Tooling for Automated Client Kickoff
|
||||||
|
|||||||
Reference in New Issue
Block a user