Restart-ExchangeIIS

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

Use the Restart-ExchangeIIS function to restart IIS on all Exchnage servers in an organization.

Restart-ExchangeIIS

SYNOPSIS

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

SYNTAX

Restart-ExchangeIIS [<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-ExchangeIIS

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.