Powershell is now working.

The powershell version is now functional. The .bat version has been
updated to include RAM output as well.
This commit is contained in:
2021-04-20 10:08:24 -04:00
parent bdaf99c174
commit e1429781c1
3 changed files with 109 additions and 47 deletions

View File

@@ -4,8 +4,8 @@ A script to output to output basic system information.
## Usage
1. Download the `.bat` file.
2. Run from `CMD` with `C:\Path\to\sysinfo.bat`
1. Download the `.ps1` file.
2. Run from `CMD` with `C:\Path\to\sysinfo.ps1`
## Features
@@ -13,17 +13,22 @@ It currently outputs:
* The Hostname
* The CPU name
* The CPU Architecture
* The OS Version
* The OS Architecture
* The System's Manufacturer
* The System's Model name
* The system's serial number
* The model name of the system
* The GPU model name
* The amount of system RAM
## Quick Run
Copy and past into `CMD`
```
curl https://efrick.ddns.net/git/efrick/Sysinfo/raw/branch/master/sysinfo.bat > %userprofile%\AppData\Local\Temp\temp.bat
%userprofile%\AppData\Local\Temp\temp.bat
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
```
@@ -35,4 +40,6 @@ Uses `echo` and `wmic`.
## `sysinfo.ps1`
This is currently under development. Don't use it.
This is now the recommended file to use.
It will require the ability to run Powershell Scripts which is restricted by default.