Retrieve Monitor Serial Numbers with PowerShell 1 minute read This function gathers monitor EDID data using the WmiMonitorID WMI class. This class was introduced in Windows Vista, so this function will not work against XP systems. We can retrieve bios serial number using the below command. Wmic bios get serialnumber Example: C: >wmic bios get serialnumber SerialNumber BP69SDK.
![Get Get](/uploads/1/2/4/2/124212766/219431052.png)
Collecting Information About Computers. 5 minutes to read. Contributors. In this article Cmdlets from CimCmdlets module are the most important cmdlets for general system management tasks. All critical subsystem settings are exposed through WMI. Furthermore, WMI treats data as objects that are in collections of one or more items. Because Windows PowerShell also works with objects and has a pipeline that allows you to treat single or multiple objects in the same way, generic WMI access allows you to perform some advanced tasks with very little work.
![Powershell Powershell](http://webitblog.com/wp-content/uploads/2015/06/WMI_serial_no.png)
The following examples demonstrate how to collect specific information by using Get-CimInstance against an arbitrary computer. We specify the ComputerName parameter with the dot value (.), which represents the local computer. You can specify a name or IP address associated with any computer you can reach through WMI.
To retrieve information about the local computer, you could omit the ComputerName parameter. Listing Desktop Settings We'll begin with a command that collects information about the desktops on the local computer. Get-CimInstance -ClassName Win32Desktop -ComputerName. This returns information for all desktops, whether they are in use or not.
Hi All, I have got some issues with the below script and trying to figure out how to complete it, I am after a format similar to the below, max monitors would be 4, though some mightn't have a monitor connected. PC1 Host Name & Model, Last Logged in 2 users - Monitor1 Make / Model /Serial Number PC1 Host Name & Model, Last Logged in 2 users - Monitor2 Make / Model /Serial Number PC1 Host Name & Model, Last Logged in 2 users - Monitor3 Make / Model /Serial Number PC2 Host Name & Model, Last Logged in 2 users - Monitor1 Make / Model /Serial Number. Hi, I was chatting with a colleague and was advised we wouldnt have the ability to remotely invoke on all the remote machines most likely and we would need to run it locally from our machine to get the content from the text file, Any other ways we can modify the get-content part to pass through all the machines, not jsut the first. I have a Domain Admin account which allows me to login to all the other machines as an admin, as the Local Admin passwords are different for the various machines.