7 lines
447 B
Batchfile
7 lines
447 B
Batchfile
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.
|
|
|
|
Powershell.exe -command "$current_execution_policy = Get-ExecutionPolicy; Set-ExecutionPolicy Bypass CurrentUser;$current_path = pwd; .\sysinfo.ps1 -write_output -file_location $current_path.Path;Set-ExecutionPolicy $current_execution_policy CurrentUser"
|