Wenn ($RoleDatacenterFfoEnvironment - Eq "True") { # Erstellen OspUser $ospUserName = "OspUser"; $ospUser = Get-LinkedUser - DomainController $RoleDomainController | {$_.Namen - Ieq $ospUserName}; Wenn (-nicht $ospUser) { $ospUserUPN = $ospUserName + "@" + $RoleFullyQualifiedDomainName; $ospUser = New-LinkedUser-$ospUserName - UserPrincipalName $ospUserUPN nennen - DomainController $RoleDomainController; } }
Wenn ($MSExchangeAntimalwareService - Ne $null- und $MSExchangeAntimalwareService.StartMode - Ne "Deaktiviert" - und $RoleStartTransportService) ...
Wenn ($RoleDatacenterEnableFullLanguageMode - Eq "True") { . $RoleBinPath\CentralAdminSetup.ps1; AddLocalComputerAccountToCentralAdminServersGroup ...
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 ...