Restarts a server in the Web Sites cloud.
Syntax
Parameter Set: Default
Restart-WebSitesServer [-Name] <String> [-PipelineVariable
<String> ] [-Confirm] [-WhatIf] [
<CommonParameters>]
The Restart-WebSitesServer cmdlet restarts a server in the Web Sites cloud. Use the Name variable to specify a server.
Specifies the name of a server.
Aliases |
none |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
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 |
Prompts you for confirmation before executing the command.
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
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 |
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.
This command restarts the server named WSERVER01.
PS C:\> Restart-WebSitesServer -ServerName "WSERVER01"