none
Which PowerShell scripts are equal to the two "wmic useraccount" CMD commands... ? RRS feed

Answers

  • Get-WmiObject Win32_UserAccount -Filter "Name = '$env:USERNAME'"

    See: help Get-WmiObject -full


    \_(ツ)_/

    • Marked as answer by Trybird Saturday, June 17, 2017 4:47 AM
    Saturday, June 17, 2017 12:53 AM

All replies