shell game

Hidden Object Properties in PowerShell

Q: I understand that some objects have hidden properties in PowerShell. How can I see these hidden properties?

A: To view every property of a PowerShell object, use the following command:

Get-Process | Get-Member -Force -View All

(In this case, we're looking at the Process type.)

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish