Powershell - How to Prevent Truncation of Long Output in Exchange Management Shell

When working in the Exchange Management Shell you may encounter some query output that gets truncated with ellipsis.

The reason this happens is that the default Powershell environment for Exchange has an enumeration limit. This is controlled by the $FormatEnumerationLimit variable in the ..\bin\Exchange.ps1 file. This variable has a default value of 16.

You can modify the variable to a larger value, or set it to -1 for “unlimited”.

Now when we run the same command the output is no longer truncated.

1 comment:

Ben said...

That worked... Thank you!

Post a Comment