Files

9 lines
507 B
Markdown
Raw Permalink Normal View History

2019-11-12 00:25:11 +00:00
# Management Scripts
2019-11-12 00:19:50 +00:00
2021-05-24 15:20:35 -04:00
Most scripts here require the Tools.ps1 script. You can dot source that script like this:
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
2020-09-07 17:09:46 -04:00
2021-05-24 15:20:35 -04:00
You can then run any of the scripts using the Run-Script function:
Run-Script -LivePSScript Script-Name
If you're using an RMM tool, the scripts in the /rmm directory are all that's needed to hook the main script in this directory.