Wenn ($RoleDatacenterIsManagementForest - Eq "True") { Set-ThrottlingPolicyAssociation-Identity "OspAzureUser2" - ThrottlingPolicy "PartnerThrottlingPolicy" - DomainController $RoleDomainController; }
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 ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Add-PSSnapin Microsoft.Exchange.Management.Powershell.CentralAdmin ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Neues Element HKLM:\Software\Microsoft\ExchangeServer\v15\CentralAdmin ...
Wenn ($RoleDatacenterIsManagementForest - Eq 'True') { Wenn (-nicht ([String]:: IsNullOrEmpty($RoleDatacenterCentralAdminDatabaseServer))) ...