52 lines
993 B
Markdown
52 lines
993 B
Markdown
# Sysinfo
|
|
|
|
A script to output to output basic system information.
|
|
|
|
## Usage
|
|
|
|
1. Download the `.ps1` file.
|
|
2. Run from `CMD` with `C:\Path\to\sysinfo.ps1`
|
|
|
|
## Features
|
|
|
|
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 GPU model name
|
|
* The amount of system RAM
|
|
|
|
## Quick Run
|
|
|
|
Copy and past into `CMD`
|
|
|
|
```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"
|
|
|
|
```
|
|
|
|
This copies the bat file to a temporary location and runs it.
|
|
|
|
## Dependencies
|
|
|
|
### .bat File
|
|
|
|
Uses `echo` and `wmic`.
|
|
|
|
### .ps1 File
|
|
|
|
Powershell Version 5.1 or higher.
|
|
|
|
## `sysinfo.ps1`
|
|
|
|
This is now the recommended file to use.
|
|
|
|
It will require the ability to run Powershell Scripts which is restricted by default. |