From dbddfe361521d9dbe22f9f2b237489c7d12927a2 Mon Sep 17 00:00:00 2001 From: Fredrik Orderud Date: Thu, 5 May 2022 15:11:34 +0200 Subject: [PATCH] Update README.md Fixes #489 by more clearly documenting that PowerShell needs to run using the `System` account, or else the script will fail. --- Samples/ShellLauncherV2/SampleBridgeWmiScripts/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Samples/ShellLauncherV2/SampleBridgeWmiScripts/README.md b/Samples/ShellLauncherV2/SampleBridgeWmiScripts/README.md index f56e081e4..36ea5e175 100644 --- a/Samples/ShellLauncherV2/SampleBridgeWmiScripts/README.md +++ b/Samples/ShellLauncherV2/SampleBridgeWmiScripts/README.md @@ -18,7 +18,7 @@ description: sample powershell scripts to call bridge WMI Shell Launcher node To use the scripts, 1. Save the scripts file to your PC -2. Download SysInternals tools, run "psexec.exe -i -s powershell.exe" from elevated command prompt +2. Download SysInternals tools, run "psexec.exe -i -s powershell.exe" from elevated command prompt to launch PowerShell using the `System` account 3. In the powershell launched by psexec.exe, first import the scripts, notice the . command when importing the ps1 file ``` PS C:\Users\test> . .\ShellLauncherBridgeWmiHelpers.ps1