Stop-WebCommitDelay

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

Syntax

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

Description

Instructs the 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

Commits the configuration changes made since the Start-WebCommitDelay cmdlet was executed.

Example 2: Discard configuration changes

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

Discards the configuration changes made since the Start-WebCommitDelay cmdlet was executed.

Optional Parameters

-Commit

Commit flag that tells the IIS configuration system to commit changes when the flag is set to $true, or to discard changes when set to $false.

Type:Boolean
Position:2
Default value:None
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 this format IIS:\sites\Default Web Site.

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