How To Print Test Pages on All Printers

image - How To Print Test Pages on All Printers

Other than open every single installed printer to print test pages, here is a much better way that you can do it all at once. Get-CimInstance Win32_Printer | Invoke-CimMethod -MethodName PrintTestPage If you only want to certain printers, use the -Filter switch. Get-CimInstance Win32_Printer -Filter “Name LIKE ‘*name*’ | Invoke-CimMethod -MethodName PrintTestPage You can even use Get-Printer cmdlet to pick […]

How To Get the Full List of Properties of A PowerShell Object

image 11 - How To Get the Full List of Properties of A PowerShell Object

When querying a PowerShell object, it only returns a few essential properties by default. For example, querying the W32_ComputerSystem class with Get-WmiObject cmdlet only returns properties like Manufacturer, ComputerName, TotalPhysicalMemory, etc. To get the full list of the properties of Win32_ComputerSystem class, you can pipe the result to Format-List, like below. Get-WmiObject -Class “Win32_ComputerSystem” | Format-List * You can even […]