将结果中的省略号内容全部输出

如何将{}之间的内容逐个输出:

Get-Service -Name winmgmt | Select DependentServices | foreach {$_.DependentServices}

-OR-

Get-Service -Name winmgmt | Select -ExpandProperty DependentServices 

http://blogs.technet.com/b/heyscriptingguy/archive/2011/11/20/change-a-powershell-preference-variable-to-reveal-hidden-data.aspx

原文地址:https://www.cnblogs.com/IvanChen/p/4488532.html