This is an attempt to capture the things I learned about working with SharePoint using Powershell so I can refer back to it.
1. I was trying to get a list of all service application proxies with in the default proxy group and no matter how I tried output was truncated.
Here is the command I used:
Get-SPServiceApplicationProxyGroup | Format-Table -Property Defaultproxies -Wrap -AutoSize | Out-String -Width 4096
Format-Table with parameters didn't seem to work in this case. It seems there is a property in PowerShell that has to be set for this output to display all items and here is how we can set it:
PS C:\Windows\system32> $FormatEnumerationLimit = 25
I had to set this value to 25 to get a proper formatted output.
1. I was trying to get a list of all service application proxies with in the default proxy group and no matter how I tried output was truncated.
Here is the command I used:
Get-SPServiceApplicationProxyGroup | Format-Table -Property Defaultproxies -Wrap -AutoSize | Out-String -Width 4096
Format-Table with parameters didn't seem to work in this case. It seems there is a property in PowerShell that has to be set for this output to display all items and here is how we can set it:
PS C:\Windows\system32> $FormatEnumerationLimit = 25
I had to set this value to 25 to get a proper formatted output.
Comments