Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Error "remote client exceeded allowed maximum"

$
0
0

Hi,

I'd like to start all three scripts from this web page, like this one:
Get-Mailbox -ResultSize Unlimited | Get-AdPermission | ?{($_.user -like "*user*") -and ($_.IsInherited -eq $false)} | select Identity, ExtendedRights, User | ft –wrap

but when starting it they returns error: "Sending data to a remote command failed with the following error message: The total data eceived from the remote client exceeded allowed maximum. Allowed maximum is 524288000."

Two workaround didn't help:
Set-PSSessionConfiguration -name microsoft.powershell -MaximumReceivedObjectSizeMB 100
Set-PSSessionConfiguration -Name DataNoLimits -MaximumReceivedDataSizePerCommandMB 800 -MaximumReceivedObjectSizeMB 800

Can you please advice how to resolve this problem?


Viewing all articles
Browse latest Browse all 21975

Trending Articles