Remove-WebSitesOperation

Remove-WebSitesOperation

Removes a DWAS operation.

Syntax

Parameter Set: Default
Remove-WebSitesOperation -OperationId <Int32> [-PipelineVariable <String> ] [-TimeOut <TimeSpan> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


 

Detailed Description

The Remove-WebSitesOperation cmdlet removes a DWAS operation.

Parameters

-OperationId<Int32>

Specifies the ID of an operation.

 

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-PipelineVariable<String>

Specifies a variable to be used with the pipeline operator.

 

Aliases

pv

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-TimeOut<TimeSpan>

Specifies the maximum time to wait for the operation to complete.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-Confirm

Prompts you for confirmation before executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

<CommonParameters>

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

Examples

Example 1: Remove a DWAS operation

This example removes the operation with the ID of 1.

PS C:\> Remove-WebSitesOperation -OperationId "1"

 

Related topics

Start-WebSitesOperation

Get-WebSitesOperation