Quantcast
Channel: Exchange Server 2013 - Mail Flow and Secure Messaging forum
Viewing all articles
Browse latest Browse all 3660

Export data exceeds maximum

$
0
0


I have searched the forum for the error below but have not found an answer to fix this issue.

When I run the command below with a resultsize of 10000 it works fine, but when I run with 20000 it errors. I have about 16,500 records to export. Is there a better way to pipe the command together to be more efficient? I need to get the three fields from the MailContact information where the Contact company field equals 'Company - Individuals'.

Thanks!

Get-Contact -resultsize 20000 -Filter "Company -eq 'Company - Individuals'" | Get-MailContact | Select-Object DisplayName, Alias, PrimarySmtpAddress | Export-Csv c:\temp\MailIndividuals.csv -NoTypeInformation

Sending data to a remote command failed with the following error message: [ClientAccessServer=Server,BackEndServer=Server.domain.com,RequestId=ae19d427-ec42-4bff-a89b-bf25663abfe7,TimeStamp=11/8/2016 1:09:55 PM]
[FailureCategory=WSMan-Others] The total data received from the remote client exceeded the allowed maximum. The allowed maximum is 524288000. For more information, see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo          : OperationStopped: (Server.domain.com:String) [], PSRemotingTransportException
    + FullyQualifiedErrorId : JobFailure
    + PSComputerName        : Server.domain.com


Gary Barber



Viewing all articles
Browse latest Browse all 3660

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>