Add cleanup to quick run
This commit is contained in:
parent
50b1db6592
commit
44626d03e9
10
README.md
10
README.md
@ -31,6 +31,7 @@ curl https://efrick.ddns.net/git/efrick/Sysinfo/raw/branch/master/sysinfo.ps1 >
|
||||
|
||||
Powershell.exe -command "cd $env:userprofile; AppData\Local\Temp\sysinfo.ps1 -write_output"
|
||||
|
||||
del %userprofile%
|
||||
```
|
||||
|
||||
This copies the bat file to a temporary location and runs it with the command switch to write the results to the desktop.
|
||||
@ -45,7 +46,8 @@ The following can be selected at run-time.
|
||||
* `-file_location`
|
||||
- This switch allows the user to set the path of the text file containing the results.
|
||||
|
||||
* `-file_path` This is the path used for the system information text file.
|
||||
* `-file_path`
|
||||
- This is the path used for the system information text file.
|
||||
|
||||
## Dependencies
|
||||
|
||||
@ -61,4 +63,8 @@ Uses `echo` and `wmic`.
|
||||
|
||||
This is now the recommended file to use.
|
||||
|
||||
It will require the ability to run Powershell Scripts which is restricted by default.
|
||||
It will require the ability to run Powershell Scripts which is restricted by default.
|
||||
|
||||
## Dev Notes
|
||||
|
||||
Going forward branch master will be write protected. Please do all further work on branches off of master.
|
Loading…
x
Reference in New Issue
Block a user