Si ($RoleDatacenterFfoEnvironment - eq "True") { Install-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode - DomainController $RoleDomainController - IsFfo } Else { Install-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode - DomainController $RoleDomainController }
Si ($RoleDatacenterFfoEnvironment - eq "True") { # Crear OspUser $ospUserName = "OspUser"; $ospuser = $RoleDomainController ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $eopChangeUserName = "EOPChangeUser"; Set-ThrottlingPolicyAssociation-ThrottlingPolicy ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser"; Conjunto de usuario $ospUserName - RemotePowerShellEnabled ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser"; Set-ThrottlingPolicyAssociation-ThrottlingPolicy ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { Install-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode ...
Si ($RoleDatacenterFfoEnvironment - eq "True") { Install-CannedRbacRoles - InvocationMode $RoleInstallationMode - DomainController ...
Si ($RoleDatacenterFfoEnvironment - ne "True") {} Si (! ()obtener-servicio MSExchangeAS | donde {$_.name - eq "MSExchangeAS"})) ...
Si ($RoleDatacenterIsManagementForest - eq "True") { $OspAzureUser2 = Get-LinkedUser - DomainController $RoleDomainController ...
Si ($RoleDatacenterIsManagementForest - eq "True") { $userName = "OspAzureUser"; $OspElevationScriptsRoleName = "OspElevation"; ...