Skip to content

Instantly share code, notes, and snippets.

@TheRealNoob
Created March 17, 2017 05:25
Show Gist options
  • Save TheRealNoob/f7ac86299a9569e2965ef0abaae1516f to your computer and use it in GitHub Desktop.
Save TheRealNoob/f7ac86299a9569e2965ef0abaae1516f to your computer and use it in GitHub Desktop.
System [PSCustomObject]
Hardware [hashtable]
BIOSManufacturer
BIOSName
BIOSVersion
RAMPhysical
RAMTotal
RAMUsed
RAMFree
CPUManufacturer
CPUName
CPUDescription
CPUSocket
CPUCores
CPULogicalProcessors
CPUClockSpeed
Disks [PSCustomObject]
Local [PSCustomObject]
HDDLabel
VolumeName = VolumeName
Model?
DriveLetter = DeviceID
FileSystem = FileSystem
Total = Size / 1GB
Used
Free = FreeSpace / 1GB
HDDLabel
Removable [PSCustomObject]
USB0[array]
VolumeName
Model?
DriveLetter
FileSystem
Total
Used
Free
USB1
Network [PSCustomObject]
Network0
VolumeName
DriveLetter
FileSystem?
Total
Used
Free
Network1
OS [hashtable]
System drive
Name
Version
Service pack
Language
Install date
Boot time
Number of processes running
Number of users
Logged on user
Network
TBD
Ports [hashtable]
Port21
Port22
Port443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment