Se ($RoleDatacenterIsManagementForest - eq "True") { $OspAzureUser2 = LinkedUser di Get - DomainController $RoleDomainController | dove {$_.Nome - ieq "OspAzureUser2"}; Se ($null$ OspAzureUser2 - eq) { $OspAzureUser2UPN = "OspAzureUser2 @" + $RoleFullyQualifiedDomainName; $OspAzureUser2 = LinkedUser nuovo-nome - UserPrincipalName "OspAzureUser2" $OspAzureUser2UPN - DomainController $RoleDomainController; } }
Se ($RoleDatacenterFfoEnvironment - eq "True") { $ospUserName = "OspUser"; Set-utente $ospUserName - RemotePowerShellEnabled ...
Se ($RoleDatacenterFfoEnvironment - eq "True") { Installazione-CannedRbacRoleAssignments - InvocationMode $RoleInstallationMode ...
Se ($RoleDatacenterFfoEnvironment - eq "True") { Installazione-CannedRbacRoles - InvocationMode $RoleInstallationMode - DomainController ...
Se ($RoleDatacenterFfoEnvironment - ne "True") { Se (! (Get-servizio MSExchangeAS | dove {$_.name - eq "MSExchangeAS"})) ...
Se ($RoleDatacenterIsManagementForest - eq "True") { $OspAzureUser2 = LinkedUser di Get - DomainController $RoleDomainController ...
Se ($RoleDatacenterIsManagementForest - eq "True") { $policyName = Microsoft.Exchange.Data.Directory.SystemConfiguration ...
Se ($RoleDatacenterIsManagementForest - eq "True") { $userName = "OspAzureUser"; $OspElevationScriptsRoleName = "OspElevation"; ...
Se ($RoleDatacenterIsManagementForest - eq "True") { $userName = "OspAzureUser2"; $ospAzureRoleName = "OspAzure"; $roleAssignment ...
Se ($RoleDatacenterIsManagementForest - eq "True") { Set-ThrottlingPolicyAssociation-Identity "OspAzureUser2" - ThrottlingPolicy ...