Module with DSC Resources for deployment and configuration of Microsoft Exchange Server.

Minimum PowerShell version


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name xExchange -RequiredVersion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Microsoft Corporation


(c) 2018 Microsoft Corporation. All rights reserved.



DesiredStateConfiguration DSC DSCResourceKit DSCResource


GetExistingExchangeSession GetRemoteExchangeSession RemoveExistingRemoteSession Get-IsExchangePresent Get-ExchangeVersion Get-IsSetupComplete Get-IsSetupPartiallyCompleted Get-InstallStatus Set-WSManConfigStatus Get-ShouldInstallLanguagePack Get-IsSetupRunning CompareStrings CompareBools CompareTimespanWithString CompareByteQuantifiedSizeWithString CompareUnlimitedWithString CompareADObjectIdWithEmailAddressString StringToArray StringArrayToLower Compare-ArrayContent Array2ContainsArray1Contents AddParameters RemoveParameters Remove-NotApplicableParamsForVersion SetEmptyStringParamsToNull VerifySetting ReportBadSetting LogFunctionEntry StartScheduledTask CheckForCmdletParameter Get-PreviousError Assert-NoNewError RestartAppPoolIfExists IsUMLanguagePackInstalled CompareIPAddresseWithString CompareSmtpAdressWithString CompareIPAddressesWithArray Compare-PSCredential Test-ExtendedProtectionSPNList Assert-IsSupportedWithExchangeVersion


xExchActiveSyncVirtualDirectory xExchAntiMalwareScanning xExchAutodiscoverVirtualDirectory xExchAutoMountPoint xExchClientAccessServer xExchDatabaseAvailabilityGroup xExchDatabaseAvailabilityGroupMember xExchDatabaseAvailabilityGroupNetwork xExchEcpVirtualDirectory xExchEventLogLevel xExchExchangeCertificate xExchExchangeServer xExchImapSettings xExchInstall xExchJetstress xExchJetstressCleanup xExchMailboxDatabase xExchMailboxDatabaseCopy xExchMailboxServer xExchMailboxTransportService xExchMaintenanceMode xExchMapiVirtualDirectory xExchOabVirtualDirectory xExchOutlookAnywhere xExchOwaVirtualDirectory xExchPopSettings xExchPowerShellVirtualDirectory xExchReceiveConnector xExchTransportService xExchUMCallRouterSettings xExchUMService xExchWaitForADPrep xExchWaitForDAG xExchWaitForMailboxDatabase xExchWebServicesVirtualDirectory


This module has no dependencies.

Release Notes

- Fixes issue with xExchMaintenanceMode on Exchange 2016 where the cluster
 does not get paused when going into maintenance mode. Also fixes issue
 where services fail to stop, start, pause, or resume.
- Explicitly cast member types in Get-DscConfiguration return hashtables to
 align with the types defined in the resource schemas. Fixes an issue where
 Get-DscConfiguration fails to return a value.
- xExchClientAccessServer: Fixes issue where AlternateServiceAccountConfiguration
 or RemoveAlternateServiceAccountCredentials parameters can"t be used at the
 same time as other optional parameters.
- xExchInstall: Fixes issue where Test-TargetResource returns true if setup is
 running. Fixes issue where setup is not detected as having been successfully
 completed even if setup was successful. Adds initial set of unit tests for
 xExchInstall and related functions.
- Remove VerbosePreference from function parameters and update all calls to
 changed functions.
- Fixes multiple PSScriptAnalyzer issues. Specifically, fixes all instances of
 PSAvoidTrailingWhitespace, PSAvoidGlobalVars,
 PSAvoidUsingConvertToSecureStringWithPlainText, PSUseSingularNouns, and
 fixes many instances of PSUseDeclaredVarsMoreThanAssignments.
- Add support for Exchange Server 2019 - Preview

Version History

Version Downloads Last updated 21,802 2/20/2019 891 1/10/2019 401 11/29/2018 459 10/25/2018 (current version) 374 9/5/2018 339 7/25/2018 458 6/13/2018 416 5/2/2018 1,013 2/8/2018 415 12/20/2017 335 11/15/2017 594 8/23/2017 605 5/31/2017 922 3/8/2017 443 1/26/2017 364 12/14/2016 359 11/2/2016 469 9/21/2016 360 8/10/2016 303 6/29/2016 450 5/18/2016 973 2/3/2016 377 11/16/2015 136 10/22/2015 750 9/11/2015 171 7/24/2015 262 4/23/2015 122 2/19/2015 33 12/18/2014 53 10/28/2014 20 10/16/2014