New-OfficeWebAppsMachine
Published: July 16, 2012
Applies to: Office Web Apps Server
Adds the current server to an existing Office Web Apps Server farm.
New-OfficeWebAppsMachine [-MachineToJoin] <String> [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-Roles <String[]>] [-WhatIf [<SwitchParameter>]]
Parameters
| Parameter | Required | Type | Description | ||
|---|---|---|---|---|---|
|
MachineToJoin |
Required |
System.String |
Specifies the name of any server that is already a member of the Office Web Apps Server farm. |
||
|
Confirm |
Optional |
System.Management.Automation.SwitchParameter |
Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters |
||
|
Force |
Optional |
System.Management.Automation.SwitchParameter |
Assumes the answer to any user prompt is Yes. |
||
|
Roles |
Optional |
System.String[] |
Specifies one or more server roles, separated by commas, to assign to the new server. If no roles are specified, then the server is assigned all roles. The role types are as follows: FrontEnd WordBackEnd ExcelBackEnd PowerPointBackEnd
|
||
|
WhatIf |
Optional |
System.Management.Automation.SwitchParameter |
Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters |
Detailed Description
The New-OfficeWebAppsMachine cmdlet adds the current server to an existing Office Web Apps Server farm and optionally sets one or more roles on the new server.
Input Types
Return Types
------------------EXAMPLE 1---------------------
New-OfficeWebAppsMachine –MachineToJoin server1.contoso.com
This example adds the current server to the Office Web Apps Server farm that is running on the server named server1.contoso.com.

Important: