a little bit more descriptive

This commit is contained in:
2021-05-24 15:20:35 -04:00
parent 90a141b05d
commit c202bfb0f4
+6 -5
View File
@@ -1,8 +1,9 @@
# Management Scripts # Management Scripts
Dot source any of the Powershell scripts with the following: Most scripts here require the Tools.ps1 script. You can dot source that script like this:
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('$URL'))) . $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
Dot source the Tools.ps1 script and run a live PS script: You can then run any of the scripts using the Run-Script function:
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1'))) Run-Script -LivePSScript Script-Name
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.