Question: #2A. Write the PowerShell syntax to obtain the Manufacturer and Model of your local computer. # Use Get-WmiObject with the Class Win32_Computersystem and the default
#2A. Write the PowerShell syntax to obtain the Manufacturer and Model of your local computer. # Use Get-WmiObject with the Class "Win32_Computersystem" and the default NameSpace. # Only display the properties Manufacturer and Model in list format
#2B. Complete the same task as question 2A, but use Get-CimInstance rather than Get-WmiObject
#2C. Write the PowerShell syntax to obtain the Manufacturer and Model from a remote computer: the remote computer listed in the file ComputerNames.txt # Use Invoke-Command to access the remote computers # Only the Get-WmiObject or Get-CimInstance command should run on the remote computers (you choose which Cmdlet to use) # Pipe the results of the Invoke-Command to local Cmdlets (See Below): # Sort the returned info by PSComputername and format as a list showing the properties Manufacturer, Model, and PSComputerName (happens locally)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
