Running the command below I receive the error below. I have increaced the MaxEnvelopeSize on the IIS system.webServer/system.management.wsmanagement.config
and still I am getting the error.
Any ideas?
$Configuration = Get-SenderFilterConfig
$Configuration.BlockedSenders += "Fenjeobyh@xxxxxxxxx.com"
Set-SenderFilterConfig -BlockedSenders $Configuration.BlockedSenders
Starting a command on remote server failed with the following error message : The WinRM client sent a request to the re
mote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota. For mo
re information, see the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRe
motingTransportException
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : mail.xxxxxx.com
PS C:\Users\administrator.FMEW> Set-Item WSMan:\localhost\MaxEnvelopeSizekb 500000
PS C:\Users\administrator.FMEW> winrm g winrm/config
Config
MaxEnvelopeSizekb = 500000
MaxTimeoutms = 60000
MaxBatchItems = 32000
MaxProviderRequests = 4294967295
Client
NetworkDelayms = 5000
URLPrefix = wsman
AllowUnencrypted = false
Auth
Basic = true
Digest = true
Kerberos = true
Negotiate = true
Certificate = true
CredSSP = false
DefaultPorts
HTTP = 5985
HTTPS = 5986
TrustedHosts
Service
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)S:P(AU;FA;GA;;;WD)(AU;SA;GWGX;;;WD)
MaxConcurrentOperations = 4294967295
MaxConcurrentOperationsPerUser = 15
EnumerationTimeoutms = 60000
MaxConnections = 25
MaxPacketRetrievalTimeSeconds = 120
AllowUnencrypted = false
Auth
Basic = false
Kerberos = true
Negotiate = true
Certificate = false
CredSSP = false
CbtHardeningLevel = Relaxed
DefaultPorts
HTTP = 5985
HTTPS = 5986
IPv4Filter = *
IPv6Filter = *
EnableCompatibilityHttpListener = false
EnableCompatibilityHttpsListener = false
CertificateThumbprint
Winrs
AllowRemoteShellAccess = true
IdleTimeout = 180000
MaxConcurrentUsers = 5
MaxShellRunTime = 2147483647
MaxProcessesPerShell = 15
MaxMemoryPerShellMB = 150
MaxShellsPerUser = 5