# Retrieves computer manufacturer, model, and total physical memory
Get-WmiObject -Class Win32_ComputerSystem | Select-Object Manufacturer, Model, TotalPhysicalMemoryThis command retrieves information about the computer's manufacturer, model, and total physical memory.
# Retrieves processor name and number of cores
Get-WmiObject -Class Win32_Processor | Select-Object Name, NumberOfCoresThis command retrieves the name of the processor installed in the computer and the number of cores it has.
# Retrieves BIOS manufacturer and version
Get-WmiObject -Class Win32_BIOS | Select-Object Manufacturer, SMBIOSBIOSVersionThis command retrieves the manufacturer and version information of the computer's BIOS (Basic Input/Output System).
# Retrieves baseboard manufacturer and product
Get-WmiObject -Class Win32_BaseBoard | Select-Object Manufacturer, ProductThis command retrieves the manufacturer and product information of the computer's baseboard.
# Retrieves total memory capacity
Get-WmiObject -Class Win32_PhysicalMemory | Measure-Object -Property Capacity -Sum | Select-Object @{Name="TotalMemory";Expression={"{0:N2} GB" -f ($_.Sum / 1GB)}}This command calculates and retrieves the total memory capacity of the computer in gigabytes (GB).
# Retrieves logical disk information including device ID, volume name, size, and free space
Get-WmiObject -Class Win32_LogicalDisk | Select-Object DeviceID, VolumeName, @{Name="Size";Expression={"{0:N2} GB" -f ($_.Size / 1GB)}}, @{Name="FreeSpace";Expression={"{0:N2} GB" -f ($_.FreeSpace / 1GB)}}This command retrieves information about logical disks in the computer, including their device ID, volume name, size, and free space in gigabytes (GB).