Examining Object Data

Share |

Join PowerShell.com!
Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Award-winning PowerShellPlus


Admin Guide to PowerShell Remoting


Mastering PowerShell eBook

If you need to see all properties a result object provides, you should probably add Select-Object * to it like this:

Get-Process -Id $pid | Select-Object *

You will find that a much more thorough way uses Format-Custom. With this approach, you can specify a depth, which will allow you to see nested object properties down to the depth you specified:

Get-Process -Id $pid | Format-Custom * -Depth 5

Twitter This Tip! ReTweet this Tip!


Posted May 20 2010, 08:00 AM by ps1

Comments

Twitter Trackbacks for Examining Object Data - Power Tips - PowerShell.com [powershell.com] on Topsy.com wrote Twitter Trackbacks for Examining Object Data - Power Tips - PowerShell.com [powershell.com] on Topsy.com
on 05-20-2010 10:21 AM

Pingback from  Twitter Trackbacks for                 Examining Object Data - Power Tips - PowerShell.com         [powershell.com]        on Topsy.com

Copyright 2012 PowerShell.com. All rights reserved.