Si ($RoleDatacenterFfoEnvironment - ne « True ») {} Si (! ()get-service MSExchangeAS * | où {$_.name - eq "MSExchangeAS"})) {} Install-AuditService } }
Si ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser" ; Set-ThrottlingPolicyAssociation-Identity $ospUserName ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser" ; Utilisateur-$ospUserName - RemotePowerShellEnabled ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { Installation-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { Installation-CannedRbacRoles - InvocationMode $RoleInstallationMode - DomainController ...
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 - ...