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
+9
View File
@@ -0,0 +1,9 @@
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
## These are RMM variables
$Path = '{[Path]}'
$OlderThanDays = '{[OlderThanDays]}'
Try { $OlderThanDays = [int]$OlderThanDays }
Catch { LogErr $_.Exception.Message }
Run-Script -LivePSScript Remove-OldFiles