Si ($RoleDatacenterIsManagementForest - eq "True") { Ensemble-utilisateur « OspAzureUser2 » - RemotePowerShellEnabled $true - CertificateSubject $RoleDatacenterOspAzureUser2CertSubjects - DomainController $RoleDomainController ; }
Si ($RoleDatacenterFfoEnvironment - ne True ) {} Si (! ()get-service MSExchangeAS | où {$_.name - eq "MSExchangeAS"})) {} ...
Si ($RoleDatacenterIsManagementForest - eq "True") { $OspAzureUser2 = Get-LinkedUser - DomainController $RoleDomainController ...
Si ($RoleDatacenterIsManagementForest - eq "True") { $userName = "OspAzureUser" ; $OspElevationScriptsRoleName = "OspElevation" ...
Si ($RoleDatacenterIsManagementForest - eq "True") { $userName = "OspAzureUser2" ; $ospAzureRoleName = "OspAzure" ; $roleAssignment ...
Si ($RoleDatacenterIsManagementForest - eq "True") { Ensemble-utilisateur OspAzureUser2 - RemotePowerShellEnabled $true - ...
Si ($RoleDatacenterIsManagementForest - eq "True") { Set-ThrottlingPolicyAssociation-ThrottlingPolicy - Identity OspAzureUser2 ...
Si ($RoleDatacenterIsManagementForest - eq 'True') { . $RoleBinPath\CentralAdminSetup.ps1 ; AddLocalComputerAccountToCentralAdminServersGroup ...
Si ($RoleDatacenterIsManagementForest - eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin - ...
Si ($RoleDatacenterIsManagementForest - eq 'True') { Écriture-ExchangeSetupLog-Info "Activation de l'authentification Basic ...