Powershell to get a computer description (as in My Computer)

  • Hi;

    I get the computer name from posh using Get-Content env:computername

    but what i want is the description of the computer name as seen when you right click My Computer, the thing is i dont know what the computer description is called from WMI

    Thanks a lot for your help

    drew

  • Get-WmiObject -Class Win32_OperatingSystem |Select Description

  • Thanks very much, i really appreciate it.

    drew

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply