Repair-WebSitesServer

Repair-WebSitesServer

Repairs a server in a Web Sites cloud.

Syntax

Parameter Set: Default
Repair-WebSitesServer [-Name] <String> [-PipelineVariable <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


 

Detailed Description

The Repair-WebSitesServer cmdlet repairs a server in a Web Sites cloud.

Parameters

-Name<String>

Specifies the name of a server.

 

Aliases

none

Required?

true

Position?

1

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

 

-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: Repair a server

This command begins a repair on the server named WSERVER01.

PS C:\> Repair-WebSitesServer -ServerName "WSERVER01"

 

Related topics

New-WebSitesServer

Get-WebSitesServer

Set-WebSitesServer

Test-WebSitesServer

Restart-WebSitesServer

Remove-WebSitesServer