Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

wrap dependentservices

$
0
0

Hi,

I'm learning powershell and I like it so far, but I have a question. I read that the -wrap parameter of the format-table cmdlet will show "hidden" text. For example if I wanted to see whole text of property DisplayName I would write "get-service | format-table -wrap" and I can see it. I tried few commands and I found dependentservices and I wanted to show them for srvice DcomLaunch. But when I try "Get-service dcomlaunch | format-table DependentServices -wrap" command It won't show them all. I would like to ask why? I found out that using "select -expandproperty dependentservices" will show them, but for learning purposes I would like to know why can I use -wrap parameter. Thank you.


Viewing all articles
Browse latest Browse all 21975

Trending Articles