Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Prevent PowerGUI from truncating the output

I'm trying to get an output from a powershell command. However The output is truncated.

[PS] >Get-QADGroup "admins"  Name                           Type            DN ----                           ----            -- Admins                         group CN=Admins,OU=Profiles,OU=Groups,OU=Sw... 

How do I tell this shell wannabe not to truncate its data?

like image 610
SamK Avatar asked Aug 23 '11 08:08

SamK


1 Answers

Get-QADGroup "admins" | Ft -autosize -wrap 

If space console is to small try:

Get-QADGroup "admins" | Fl name,type,dn 

edit:

Get-QADGroup "admins" | Ft -autosize | out-string -width 4096  
like image 115
CB. Avatar answered Sep 21 '22 12:09

CB.