Remove-WebSitesOperation

Removes a DWAS operation.

Syntax

Remove-WebSitesOperation [-Confirm] -OperationId <Int32> [-RemoteSettings <RemoteSettings>]
 [-SuppressRequestIdLine] [-TimeOut <TimeSpan>] [-WhatIf] [<CommonParameters>]

Description

The Remove-WebSitesOperation cmdlet removes a Dynamic Windows Activation Service (DWAS) operation.
DWAS is designed to carry out such tasks as:

- Provisioning and activating sites.
- Starting and monitoring worker processes.
- Shutting down and deprovisioning sites.
- Overseeing sandbox and security measures.

Examples

Example 1: Remove a DWAS operation

PS C:\> Remove-WebSitesOperation -OperationId 1
This command removes the DWAS operation with the ID 1.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

-OperationId

Specifies the ID of the operation to be removed.
For example:

-OperationId 13

You can return the IDs for all your current web site operations by using the Get-WebSitesOperation cmdlet:

Get-WebSitesOperation

Type:Int32
Required:True
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

-RemoteSettings

{{Fill RemoteSettings Description}}

Type:RemoteSettings
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-SuppressRequestIdLine

{{Fill SuppressRequestIdLine Description}}

Type:SwitchParameter
Required:False
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

-TimeOut

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

Type:TimeSpan
Required:False
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs.
The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Required:False
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False