Topic Last Modified: 2013-08-13
To add a domain to the blocked domains list, use syntax similar to this:
Copy Code | |
---|---|
$x = New-CsEdgeDomainPattern "fabrikam.com" Set-CsTenantFederationConfiguration -BlockedDomains @{Add=$x} |
As you can see, this command requires two steps. First, you use the New-CsEdgeDomainPattern to create a domain object representing the domain to be added to the blocked list. After that, you use the Set-CsTenantFederationConfiguration cmdlet and the Add method to add that domain (in this example, the domain stored in the variable $x) to the list.