Skip to content

Instantly share code, notes, and snippets.

@pkutzner
Last active October 12, 2023 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkutzner/ccc54465db6c80c912f022ce9b61fdd0 to your computer and use it in GitHub Desktop.
Save pkutzner/ccc54465db6c80c912f022ce9b61fdd0 to your computer and use it in GitHub Desktop.
Stuffs
ComputerName
OnlineStatus
WSManStatus (i.e. Powershell Remoting)
IPAddress
FQDN
PTR
SysInfo:
RAM
Manufacturer
Model
SerialNumber
BIOSManufacturer
BIOSVersion
NumCPUs
CPUInfo:
Model
TotalCPUs
TotalCores
TotalThreads
CPUs(array): # Array of objects, one per physical CPU
Name:
DeviceID
CurrentVoltage
NumberOfCores
NumberOfThreads
CurrentClockSpeed
L2CacheSize
L3CacheSize
Disks: # Array of objects, one per physical disk
Name
Model
Manufacturer
BusType
MediaType
DiskNumber
ProvisioningType
HealthStatus
PartitionStyle
BootDisk
Size # Human-readable
RawSize
AllocatedSize # Human-readable
RawAllocatedSize
FirmwareVersion
SerialNumber
LastBootTime
Partitions: # Array of objects, one per partition on this physical disk
PartitionNumber
IsBoot
DriveLetter
Size # Human-readable
RawSize
NoDefaultDriveLetter
ParentDiskSerial
Volumes: # Array of objects, one per volume on this physical disk
DriveLetter
Label
Size # Human-readable
RawSize
SizeRemaining # Human-Readable
RawSizeRemaining
PercentFree
ProtectionStatus # Bitlocker Protection Status
ConversionStatus # Bitlocker Conversion Status
EncryptionMethod # Bitlocker Encryption Method
BitLockerInit # Is volume initialized for Bitlocker Protection?
ParentDiskSerial
Patches: # Array of objects of objects, one per installed KB
Source
Description
HotFixID
InstalledBy
InstalledOn
Applications # Array of Objects, one per application with a 'DisplayName' not null
DisplayName
DisplayVersion
Publisher
InstallDate
InstallLocation
Architecture (e.g. x86/x64)
WindowsSKU # Windows Product SKU (e.g. Professional, Workstation, Enterprise, etc.)
WindowsBuildNumber
WindowsPatchLevel
WindowsVersion # e.g. Windows 10 22H2
WindowsInstallDate
SLSPK # OA3xOriginalProductKey (if available)
BPKD # Backup Product Key (if available)
SCCM # SCCM client installation status
Users # Array of objects, one per logged-in user
UserName
SessionName # e.g. Console, RDP, etc.
ID # Session ID
State # e.g. Active/Idle
IdleTime
LogonTime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment