a little bit more descriptive
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# Management Scripts
|
||||
|
||||
Dot source any of the Powershell scripts with the following:
|
||||
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('$URL')))
|
||||
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')))
|
||||
|
||||
Dot source the Tools.ps1 script and run a live PS script:
|
||||
. $([Scriptblock]::Create((New-Object Net.WebClient).DownloadString('https://dev.emberkom.com/emberkom/management-scripts/raw/branch/master/Tools.ps1')))
|
||||
Run-Script -LivePSScript Script-Name
|
||||
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.
|
||||
Reference in New Issue
Block a user