From 6d1362a76a90885ea5c054b829c84a0ef946007b Mon Sep 17 00:00:00 2001 From: efrick Date: Fri, 23 Apr 2021 11:39:03 -0400 Subject: [PATCH] Add quickrun.bat This will run the same commands as the readme's quick run instructions and is intended to be run from a USB stick or similar. --- quickrun.bat | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 quickrun.bat diff --git a/quickrun.bat b/quickrun.bat new file mode 100644 index 0000000..f74af35 --- /dev/null +++ b/quickrun.bat @@ -0,0 +1,9 @@ +ECHO off +REM Runs the quick run commands form the readme.md +REM https://efrick.ddns.net/git/efrick/Sysinfo/src/branch/master/README.md#quick-run +REM This must be run from an elevated prompt. +curl https://efrick.ddns.net/git/efrick/Sysinfo/raw/branch/master/sysinfo.ps1 > %userprofile%\AppData\Local\Temp\sysinfo.ps1; + +Powershell.exe -command "cd $env:userprofile; AppData\Local\Temp\sysinfo.ps1 -write_output" + +del %userprofile%\AppData\Local\Temp\sysinfo.ps1