Restart-EaiExchangeIIS

Module: Exchange_AddIn
Applies to: Exchange Server 2010, Exchange Server 2013, Exchange Server 2016, Exchange Server 2019.

Use the Restart-EaiExchangeIIS function to restart IIS on all Exchange servers in an organization.

Restart-EaiExchangeIIS

SYNOPSIS

Restarts the IIS process on all Exchange servers in an Exchange organization.

SYNTAX

Restart-EaiExchangeIIS [<CommonParameters>]

DESCRIPTION

This function creates an array of all Exchange servers in an organization.
Then it sends out an IIS restart command via PowerShell to all servers listed in the array.

EXAMPLES

EXAMPLE 1

Restart-EaiExchangeIIS

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.