PowerShell Truncated my Output

By |2018-06-07T11:18:05+00:00June 7th, 2018|PowerShell|0 Comments

Sometimes when you run a PowerShell command you get the output , but it’s truncated the result that you needed. Often this leads you to maybe running a select command with -ExpanyProperty or an FT -Autosize.

However there is an easier way , by default PowerShell only display 4 results on a line before truncating the text (See Below)

Applications : {urn:application:Cas, urn:application:Caa,
urn:application:testbot, urn:application:Cps…}

You can change the value of 4 before truncating with the below which sets it to unlimited!

$FormatEnumerationLimit = -1

After you have ran the above command , run your original command again and results will no longer be truncated 🙂

Applications : {urn:application:Cas, urn:application:Caa,
urn:application:testbot, urn:application:Cps,
urn:application:RGS, urn:application:PDP}


							

Leave A Comment

like what you see? 

Sign-up to our newsletter and never miss out on the latest blogs, events and tech news from the world of risual
SUBSCRIBE!
Give it a try, you can unsubscribe anytime.