Stop-WebCommitDelay

Instructs the IIS configuration system to resume the commitment of changes.

Syntax

Stop-WebCommitDelay
    [[-Commit] <Boolean>]
    [[-PSPath] <String[]>]
    [<CommonParameters>]

Description

The Stop-WebCommitDelay cmdlet instructs the Internet Information Services (IIS) configuration system to end the delay of commitment changes started by the Start-WebCommitDelay cmdlet. You can choose to either commit or discard configuration changes made by using the Commit parameter.

Examples

Example 1: Commit configuration changes

PS C:\> Stop-WebCommitDelay -Commit $True

This command commits the configuration changes made since the Start-WebCommitDelay cmdlet was run.

Example 2: Discard configuration changes

PS C:\> Stop-WebCommitDelay -Commit $False

This command discards the configuration changes made since the Start-WebCommitDelay cmdlet was run.

Parameters

-Commit

Indicates whether the IIS configuration system should commit changes when the value is $True or to discard changes when to the value is $False.

Type:Boolean
Position:2
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PSPath

Specifies the configuration path. This can be either an IIS configuration path in the format Computer name/webroot/apphost, or the IIS module path in the format IIS:\sites\Default Web Site.

Type:String[]
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False