Stop-WebCommitDelay
Instructs the IIS configuration system to resume the commitment of changes.
Syntax
Default (Default)
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.
Parameter properties
Type: | Boolean |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 2 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.