Today one of the SharePoint farm was handed over to me but I was not able find the office web apps server.
So can anyone tell me how to find office web apps server in existing SharePoint farm.
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communityYou can use a couple of commands to get the details of the Office Online server.
(Get-OfficeWebAppsFarm).Machines
The above command will return details about the servers that are members of the Office Online Server farm. These details include the health status and roles held by each server.
Import-Module OfficeWebApps
Get-OfficeWebAppsFarm
The above command will return the details about the OfficeWebAppsFarm object.
Example something like below information you will get about OOS server:
Get-OfficeWebAppsMachine
The Get-OfficeWebAppsMachine cmdlet returns details about the current server that is in an Office Online Server farm. These details include the roles and health status of the current server and the name of the master server for the farm.
Get-SPWOPIZone | Get-SPWOPIBinding
This example returns a list of bindings that were created on the current SharePoint farm where this cmdlet is run for the zone configured for the WOPI application.
For more details refer to the below MSDN articles:
If you get the "The term 'Get-OfficeWebAppsMachine' is not recognized as the name of a cmdlet, function, script file, or operable program." run the below command:
$p=$Env:PSModulePath
$p+=";C:\Program Files\Microsoft Office Web Apps\AdminModule"
[Environment]::SetEnvironmentVariable("PSModulePath",$p)
Source:
You can try the following command: Get-OfficeWebAppsFarm , it should return an object containing details about the server(s) that are part of the Office Web Apps installation.