Multiple choice technology

Which of the below CmdLet Displays the TimeZone settings of a remote server?

  1. get-wmiobject -Class "win32_Desktop" -namespace "root\CIMV2"-computername $computername | Format-List *
  2. get-wmiobject -Class "win32_Enviornmanet" -namespace "root\CIMV2"-computername $computername | Format-List *
  3. get-wmiobject -Class "win32_TimeZone" -namespace "root\CIMV2"-computername $computername | Format-List *
  4. get-wmiobject -Class "win32_TimeZoneSetting" -namespace "root\CIMV2"-computername $computername | Format-List *
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The win32_TimeZone WMI class contains timezone configuration information including bias, standard name, and daylight name. Option A queries desktop settings, option B has a typo (Enviornmanet) and queries environment variables, and option D uses a non-existent class name win32_TimeZoneSetting.