Multiple choice technology

Which among the below CmdLet is used to get the system related information such as OS version, IP address, Host details etc.?

  1. Invoke-WmiMethod

  2. Get-WmiObject

  3. Get-WmiClass

  4. none of the above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Get-WmiObject is the PowerShell cmdlet used to retrieve WMI object information including OS details, IP configuration, and host system information. Invoke-WmiMethod invokes WMI methods, Get-WmiClass is not a standard cmdlet.