Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { $ospUserName = "OspUser"; $True Set-User-$ospUserName - RemotePowerShellEnabled - CertificateSubject $RoleDatacenterOspCertSubjects - DomainController $RoleDomainController;# Definieren Sie neue Management-Rolle $centralAdminManagementRole = Get-ManagementRole - DomainController $RoleDomainController - RoleType CentralAdminManagement | { $_.IsRootRole};$ospUserUnscopedRoleName = "OspUser UnscopedRole"; $ospUserUnscopedRole = Get-ManagementRole - DomainController $RoleDomainController | {$_.Namen - Ieq $ospUserUnscopedRoleName}; Wenn (-nicht $ospUserUnscopedRole) { $ospUserUnscopedRole = New-ManagementRole-Namen-$ospUserUnscopedRoleName-übergeordneter $centralAdminManagementRole - DomainController $RoleDomainController; } }
Wenn ($RoleDatacenterEnableFullLanguageMode - Eq "True") { .$RoleBinPath\CentralAdminSetup.ps1; RemoveLocalComputerAccou ...
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { # Erstellen EOPChangeUser $eopChangeUserName = "EOPChangeUser"; $eopChangeUser ...
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { # Erstellen OspUser $ospUserName = "OspUser"; $ospUser = Get-LinkedUser ...
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { $eopChangeUserName = "EOPChangeUser"; Set-ThrottlingPolicyAssociation-Identity-$eopChangeUserName ...
Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { $ospUserName = "OspUser"; $True Set-User-$ospUserName - RemotePowerShellEnabled ...
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 ...