The built-in way to do this is to use Format-Custom like this:
Get-Process -id $pid | Format-Custom -Property * -Depth 4
, , $FormatEnumerationLimit ( - 4). , 100, fc PowerShell, , . (, ), , . BTW :
$FormatEnumerationLimit = 10
gps -id $pid | fc * -dep 10