Tuesday, August 13, 2013

Powershell Output display the output as (dot)....

Powershell Output display the output as (dot)....
By default the output of the powershell command can display upto 16 character which is hardcoded in the Exchange.ps1 file. You can verify them by running the following command in the exchange mangement shell
[PS] C:\>$FormatEnumerationLimit

Solution:
This can be overcome setting the $FormatEnumerationLimit value to -1 which is unlimited
[PS] C:\>$FormatEnumerationLimit =-1

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

No comments:

Post a Comment

The blog is written to the share the knowledge mainly on Microsoft Exchange Server and other Microsoft product that experienced on day-to-day life.