Si ($RoleDatacenterFfoEnvironment - eq "True") { Installation-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode - DomainController $RoleDomainController - IsFfo } autre { Installation-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode - DomainController $RoleDomainController }
Si ($RoleDatacenterFfoEnvironment - eq "True") { # Créer OspUser $ospUserName = "OspUser" ; $ospUser = get-LinkedUser - DomainController ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $eopChangeUserName = "EOPChangeUser" ; Set-ThrottlingPolicyAssociation-Identity ...
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" ...