Stop-WebCommitDelay
Stop-WebCommitDelay
Instructs the IIS configuration system to resume the commitment of changes.
Sintaxis
Parameter Set: Default
Stop-WebCommitDelay [[-PSPath] <String[]> ] [[-Commit] <Boolean> ] [ <CommonParameters>]
Descripción detallada
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.
Parámetros
-Commit<Boolean>
Indicates whether the IIS configuration system should commit changes when the value is $True or to discard changes when to the value is $False.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
3 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PSPath<String[]>
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.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
true (ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Commit configuration changes
This command commits the configuration changes made since the Start-WebCommitDelay cmdlet was run.
PS C:\> Stop-WebCommitDelay –Commit $True
Example 2: Discard configuration changes
This command discards the configuration changes made since the Start-WebCommitDelay cmdlet was run.
PS C:\> Stop-WebCommitDelay –Commit $False