Remove-OfficeWebAppsHost

Removes a host domain from the Allow List for an Office Online Server farm.

Syntax

Remove-OfficeWebAppsHost
      -Domain <String>

Description

The Remove-OfficeWebAppsHost cmdlet removes the specified host domain from the Allow List. The Allow List contains the host domains to which Office Online Server allows file operations requests.

If there are no domains on the Allow List, Office Online Server allows file requests to hosts in any domain. Do not leave this list blank if your Office Online Server farm is accessible from the Internet. Otherwise anyone can use your Office Online Server farm to view and edit content.

Examples

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

Remove-OfficeWebAppsHost -domain "contoso.com"

This example removes the domain contoso.com from the Allow List.

Parameters

-Domain

Specifies the host domain to remove from the Allow List.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False