Export (0) Print
Expand All

Repair-OfficeWebAppsFarm

Office Web Apps
 

Applies to: Office Web Apps Server

Topic Last Modified: 2013-12-18

Removes all servers flagged as unhealthy from an Office Web Apps Server farm.

Repair-OfficeWebAppsFarm [-Confirm [<SwitchParameter>]] [-Force <SwitchParameter>] [-WhatIf [<SwitchParameter>]]

The Repair-OfficeWebAppsFarm cmdlet removes all servers flagged as unhealthy from a Office Web Apps Server farm. This cmdlet updates the farm topology but does not clean up services and web applications on the servers that are removed. For this reason, we recommend making every effort to run the Remove-OfficeWebAppsMachine cmdlet from the unhealthy servers so that they are cleanly removed from the farm. Use the Repair-OfficeWebAppsFarm cmdlet only if the unhealthy servers have failed and you cannot run the Remove-OfficeWebAppsMachine cmdlet directly on them.

If there are multiple unhealthy servers, you are prompted before each server is removed. If there are no unhealthy servers, this cmdlet does nothing.

 

Parameter Required Type Description

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.

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

------------------EXAMPLE 1---------------------

(Get-OfficeWebAppsFarm).Machines

This example displays the health status of all servers in the Office Web Apps Server farm.

------------------EXAMPLE 2---------------------

Repair-OfficeWebAppsFarm

This example removes all unhealthy servers from the Office Web Apps Server farm.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft