added RMM shim script to repo
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user