From e6345f80e94736e664a440783b0f91f933a99c1c Mon Sep 17 00:00:00 2001 From: efrick Date: Tue, 20 Apr 2021 13:49:54 -0400 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3887f0a..305fd7e 100644 --- a/README.md +++ b/README.md @@ -26,9 +26,10 @@ It currently outputs: Copy and past into `CMD` -``` -curl https://efrick.ddns.net/git/efrick/Sysinfo/raw/branch/master/sysinfo.bat > %userprofile%\AppData\Local\Temp\sysinfo.ps1 -%userprofile%\AppData\Local\Temp\sysinfo.ps1 +```powershell +curl https://efrick.ddns.net/git/efrick/Sysinfo/raw/branch/master/sysinfo.ps1 > %userprofile%\AppData\Local\Temp\sysinfo.ps1; + +Powershell.exe -command "$env:userprofile\AppData\Local\Temp\sysinfo.ps1" ```