From c202bfb0f40d93124522e4d1d8fa9f91097bacd9 Mon Sep 17 00:00:00 2001 From: dyoder Date: Mon, 24 May 2021 15:20:35 -0400 Subject: [PATCH] a little bit more descriptive --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5b6733b..cacf6aa 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +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. \ No newline at end of file