Start-WebSitesOperation

Start-WebSitesOperation

Starts a DWAS operation.

Syntax

Parameter Set: Default
Start-WebSitesOperation [-OperatorName] <String> [-OperationName] <String> [-Parameters] <Hashtable> [[-WaitForCompletion]] [[-Timeout] <TimeSpan> ] [-PipelineVariable <String> ] [ <CommonParameters>]


 

Detailed Description

The Start-WebSitesOperation cmdlet starts a DWAS operation. This cmdlet is commonly used for upgrading and repairing web site farms.

Parameters

-OperationName<String>

Specifies the name of the operation. For example: Repair, Upgrade.

 

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-OperatorName<String>

Specifies the name of the operator.

 

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-Parameters<Hashtable>

Specifies a hashtable that contains the parameters for the operation.

 

Aliases

none

Required?

true

Position?

3

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?

5

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

 

-WaitForCompletion

Indicates that the cmdlet waits for the operation to complete.

 

Aliases

none

Required?

false

Position?

4

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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: Start an upgrade on front-end servers

This command starts an upgrade operation on front-end servers.

PS C:\> Start-WebSitesOperation -OperatorName WFF -OperationName Upgrade @{"WebFarmName"="FrontEndServers"}

 

Example 2: Start an upgrade on file servers

This command starts an upgrade operation on file servers.

PS C:\> Start-Operation -OperatorName WFF -OperationName Upgrade @{"WebFarmName"="FileServers"}

 

Example 3: Start an upgrade on management servers

This command starts an upgrade operation on management servers.

PS C:\> Start-Operation -OperatorName WFF -OperationName Upgrade @{"WebFarmName"="ManagementServers"}

 

Example 4: Start an upgrade on publisher servers

This command starts an upgrade operation on publisher servers.

PS C:\> Start-Operation -OperatorName WFF -OperationName Upgrade @{"WebFarmName"="PublisherServers"}

 

Example 5: Start an upgrade on a specific worker server

This command starts an upgrade operation on the server named Server01.

PS C:\> Start-Operation -OperatorName WFF -OperationName Upgrade @{"WebFarmName"="WorkerServers";ServerName="SERVER01"}

 

Example 6: Start a repair on front-end servers

This command starts a repair operation on front-end servers.

PS C:\> Start-WebSitesOperation -OperatorName WFF -OperationName Repair @{"WebFarmName"="FrontEndServers"}

 

Related topics

Get-WebSitesOperation

Remove-WebSitesOperation