New-OfficeWebAppsMachine
Adds the current server to an existing Office Online Server farm.
New-OfficeWebAppsMachine
[-Force]
[-MachineToJoin] <String>
[-Roles <String[]>]
[-WhatIf]
[-Confirm]
The New-OfficeWebAppsMachine cmdlet adds the current server to an existing Office Online Server farm and optionally sets one or more roles on the new server.
New-OfficeWebAppsMachine -MachineToJoin server1.contoso.com
This example adds the current server to the Office Online Server farm that is running on the server named server1.contoso.com.
Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Assumes the answer to any user prompt is Yes.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the name of any server that is already a member of the Office Online Server farm.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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
As a best practice, we recommend that all servers in an Office Online Server farm run all roles. Assigning roles is not useful until the Office Online Server farm contains approximately 50 servers.
Type: | String[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
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
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |