Export (0) Print
Expand All
Expand Minimize

End-WebCommitDelay

End-WebCommitDelay

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

Syntax

End-WebCommitDelay [[-Commit] <Boolean>] [[-PSPath] <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

Instructs the configuration system to end the delay of commitment changes started by the Begin-WebCommitDelay cmdlet. You can choose to either commit or discard configuration changes made by using the Commit parameter.

Parameters

-Commit <Boolean>

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.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

3

-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.

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

true (ByPropertyName)

Position?

2

-WarningAction <ActionPreference>

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-WarningVariable <String>

Attributes

Name Value

Required?

false

Accept wildcard characters?

false

Accept Pipeline Input?

false

Position?

named

-CommonParameter

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see About Common Parameter

Input and Return Types

The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.

Input Type

.

Return Type

.

Notes



Examples

EXAMPLE 1: Commit configuration changes

IIS:\>End-WebCommitDelay -Commit $true

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

EXAMPLE 2: Discard configuration changes

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

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

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft