Adds a server to the Web Sites cloud.
Syntax
Parameter Set: Default
New-WebSitesServer [-Name] <String> [-ServerType]
{ManagementServer | LoadBalancer | WebWorker | Publisher |
FileServer} [-Force] [-PipelineVariable <String> ] [-Confirm]
[-WhatIf] [ <CommonParameters>]
The New-WebSitesServer cmdlets adds a server to the Web Sites cloud. Use the ServerType parameter to specify the type of server.
Forces the command to execute without asking for user confirmation.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
Specifies a name for the 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 |
Specifies the server type. Valid values are:
-- ManagementServer
-- LoadBalancer
-- WebWorker
-- Publisher
-- FileServer
The acceptable values for this parameter are:
ManagementServer |
|
LoadBalancer |
|
WebWorker |
|
Publisher |
|
FileServer |
|
Aliases |
none |
Required? |
true |
Position? |
2 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
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 adds an existing server named WSERVER01 to the Web Sites farm, and configures it for a WebWorker role.
PS C:\> New-WebSitesServer -ServerName "WSERVER01" -ServerType "WebWorker"