if (($server -eq $null) -and (($RoleIsDatacenter -eq $true) -or ($RoleIsDatacenterDedicated -eq $true)) -and ($RoleAllRoles ...

if (($server -eq $null) -and (($RoleIsDatacenter -eq $true) -or ($RoleIsDatacenterDedicated -eq $true)) -and ($RoleAllRoles -ne $null))          {            $roles = $RoleAllRoles.Split(',');            if ($roles -contains 'CafeRole')            {              try              {                 Set-ServerComponentState $RoleNetBIOSName -Component ServerWideOffline -Requester Functional -State InActive              }               catch               {                Write-ExchangeSetupLog -Warning "Unable to set server state to inactive.  Setup will continue.";              }            }          }
English
English (United States)
Español (España)
Spanish (Spain)