added RMM shim script to repo

This commit is contained in:
2026-10-01 09:39:44 -04:00
parent 4912bbc28e
commit 3b8ceeac5a
87 changed files with 553 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
# RMM variable $EnableOrDisable must be set at runtime!
# Possible values are: 'enable' or '1' to enable profile prompt, 'disable' or '0' to disable profile prompt
Switch ($EnableOrDisable.ToLower().Trim()) {
{ ($_ -eq 'enable') -or ($_ -eq 1) } { Set-OutlookProfilePrompt -Enable }
{ ($_ -eq 'disable') -or ($_ -eq 0) } { Set-OutlookProfilePrompt -Disable }
default { Microsoft.Powershell.Utility\Write-Error "Please enter ""enable"" or ""1"" to enable the profile prompt, or ""disable"" or ""0"" to disable the profile prompt" }
}