Wenn ($RoleDatacenterIsManagementForest - Eq "True") { $OspAzureUser2 = Get-LinkedUser - DomainController $RoleDomainController | wobei {$_.Namen - Ieq "OspAzureUser2"}; Wenn ($OspAzureUser2 - Eq $null) { $OspAzureUser2UPN = "OspAzureUser2 @" + $RoleFullyQualifiedDomainName; $OspAzureUser2 = New-LinkedUser-Namen "OspAzureUser2" - UserPrincipalName $OspAzureUser2UPN - DomainController $RoleDomainController; } }
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { $ospUserName = "OspUser"; Set-ThrottlingPolicyAssociation-Identity-$ospUserName ...
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { Install-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode ...
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { Install-CannedRbacRoles - InvocationMode $RoleInstallationMode - DomainController ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { "OspAzureUser2" Set-User - RemotePowerShellEnabled $true - CertificateSubject ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { $OspAzureUser2 = Get-LinkedUser - DomainController $RoleDomainController ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { $userName = "OspAzureUser"; $OspElevationScriptsRoleName = "OspElevation"; ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { $userName = "OspAzureUser2"; $ospAzureRoleName = "OspAzure"; $roleAssignment ...
Wenn ($RoleDatacenterIsManagementForest - Eq "True") { Set-ThrottlingPolicyAssociation-Identity "OspAzureUser2" - ThrottlingPolicy ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...