Restart-EaiAutoDAppPool

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

Use the Restart-EaiAutoDAppPool function to restart just the Autodiscover application pool of IIS on all Exchange servers in an organization.

Restart-EaiAutoDAppPool

SYNOPSIS

Restarts IIS AutoDiscover app pool on all Exchange servers in Organization.

SYNTAX

Restart-EaiAutoDAppPool [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Obtains all Exchange servers in the organization and restarts the IIS AutoDiscover application pool on all servers.

EXAMPLES

EXAMPLE 1

Restart-EaiAutoDAppPool

PARAMETERS

-WhatIf

Shows what would happen if the cmdlet runs.
The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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.

NOTES

This function allows repeatable use of restarting the IIS app pool for AutoDiscover on Exchange servers. This function will not restart the entire IIS service, just the specific AutoD app pool.