[PS] C:\Windows\system32>$script:WarningPreference = "SilentlyContinue"
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>function OutputResults ($objects){
>>
>> If ($objects -eq $null){
>> "" | Out-Host
>> "" | Out-Host
>> "Custom MaxReceiveSize or MaxSendSize not found" | Out-Host
>> "" | Out-Host
>> "" | Out-Host
>> }
>> Else{
>> $objects | Select-Object DisplayName, MaxReceiveSize, MaxSendSize | f
l
>> }
>> }
>>
[PS] C:\Windows\system32>"" | Out-Host
[PS] C:\Windows\system32>"Transport Config" | Out-Host
Transport Config
[PS] C:\Windows\system32>"----------------" | Out-Host
----------------
[PS] C:\Windows\system32>Get-TransportConfig | Select-Object MaxReceiveSize, Max
SendSize | fl
MaxReceiveSize : 10MB
MaxSendSize : 10MB
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"AD Site Links" | Out-Host
AD Site Links
[PS] C:\Windows\system32>"-------------" | Out-Host
-------------
[PS] C:\Windows\system32>Get-ADSiteLink | Select-Object Name, MaxMessageSize | f
l
Name : DEFAULTIPSITELINK
MaxMessageSize : unlimited
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Receive Connectors" | Out-Host
Receive Connectors
[PS] C:\Windows\system32>"------------------" | Out-Host
------------------
[PS] C:\Windows\system32>Get-ReceiveConnector | Select-Object Name, Server, MaxM
essageSize | fl
Name : Default SBSERVER
Server : SBSERVER
MaxMessageSize : 20MB
Name : Windows SBS Fax Sharepoint Receive SBSERVER
Server : SBSERVER
MaxMessageSize : 10MB
Name : Windows SBS Internet Receive SBSERVER
Server : SBSERVER
MaxMessageSize : 10MB
Name : Minolta C250 Scanner
Server : SBSERVER
MaxMessageSize : 10MB
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Send Connectors" | Out-Host
Send Connectors
[PS] C:\Windows\system32>"---------------" | Out-Host
---------------
[PS] C:\Windows\system32>Get-SendConnector | Select-Object Name, MaxMessageSize
| fl
Name : Windows SBS Internet Send SBSERVER
MaxMessageSize : 10MB
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Foreign Connectors" | Out-Host
Foreign Connectors
[PS] C:\Windows\system32>"------------------" | Out-Host
------------------
[PS] C:\Windows\system32>If(Get-ForeignConnector){
>> Get-ForeignConnector | Select-Object Name, MaxMessageSize | fl
>> }
>> Else{
>> "" | Out-Host
>> "" | Out-Host
>> "No Foreign Connectors Configured"
>> "" | Out-Host
>> "" | Out-Host
>> }
>>
Name : Windows SBS Company Web Connector SBSERVER
MaxMessageSize : unlimited
[PS] C:\Windows\system32>"Distribution Groups" | Out-Host
Distribution Groups
[PS] C:\Windows\system32>"-------------------" | Out-Host
-------------------
[PS] C:\Windows\system32>OutputResults(Get-DistributionGroup -ResultSize Unlimit
ed | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "
unlimited")})
Custom MaxReceiveSize or MaxSendSize not found
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Dynamic Distribution Groups" | Out-Host
Dynamic Distribution Groups
[PS] C:\Windows\system32>"---------------------------" | Out-Host
---------------------------
[PS] C:\Windows\system32>OutputResults(Get-DynamicDistributionGroup -ResultSize
Unlimited | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSiz
e -ne "unlimited")})
Custom MaxReceiveSize or MaxSendSize not found
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mailboxes" | Out-Host
Mailboxes
[PS] C:\Windows\system32>"---------" | Out-Host
---------
[PS] C:\Windows\system32>OutputResults(Get-Mailbox -ResultSize Unlimited | Where
-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "unlimited"
)})
Custom MaxReceiveSize or MaxSendSize not found
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mail Contacts" | Out-Host
Mail Contacts
[PS] C:\Windows\system32>"-------------" | Out-Host
-------------
[PS] C:\Windows\system32>OutputResults(Get-MailContact -ResultSize Unlimited | W
here-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "unlimi
ted")})
Custom MaxReceiveSize or MaxSendSize not found
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mail Public Folders" | Out-Host
Mail Public Folders
[PS] C:\Windows\system32>"-------------------" | Out-Host
-------------------
[PS] C:\Windows\system32>OutputResults(Get-MailPublicFolder -ResultSize Unlimite
d | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "u
nlimited")})
Custom MaxReceiveSize or MaxSendSize not found
[PS] C:\Windows\system32>
[PS] C:\Windows\system32>"Mail Users" | Out-Host
Mail Users
[PS] C:\Windows\system32>"----------" | Out-Host
----------
[PS] C:\Windows\system32>OutputResults(Get-MailPublicFolder -ResultSize Unlimite
d | Where-Object {($_.MaxReceiveSize -ne "unlimited") -or ($_.MaxSendSize -ne "u
nlimited")})
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.