# get all computer information
# hardware
   Get-WmiObject win32_baseboard;
   Get-WmiObject Win32_bios;
   Get-WMIObject Win32_processor | Format-Table -AutoSize;
   Get-ComputerInfo | select *processors;
   Get-WmiObject win32_physicalmemory | Select Manufacturer, Banklabel, Configuredclockspeed, Devicelocator, Capacity, Serialnumber | Format-Table -Autosize;
   Get-PhysicalDisk;
   Get-Volume | select DriveLetter, FileSystemLabel, FileSystemType, DriveType, HealthStatus, OperationalStatus, SizeRemaining, Size | Format-Table -AutoSize;
   Get-NetAdapter -Physical | Format-Table -AutoSize;
   Get-WmiObject win32_VideoController | Format-List Name, AdapterDACType, AdapterRAM, VideoProcessor, VideoModeDescription, CurrentRefreshRate;

# software
   Get-ComputerInfo | select OSname, OsArchitecture, OsProductType, OSBuildNumber, OsSerialNumber, CSName | Format-Table -AutoSize;

# Does not work on all installations:
   Get-WmiObject -query 'select * from SoftwareLicensingService' | Select OA3xOriginalProductKey

# get Antivirus Product
   Get-CimInstance -Namespace root/SecurityCenter2 -Classname AntiVirusProduct | select displayName, productState, pathToSignedProductExe | Format-Table -AutoSize

# show defender icon on windows server
   gpedit.msc
      Administrative Templates
         Windows Components
            Windows Security
               Systray
                  Hide Windows Secuity Systray