if ($RoleDatacenterIsManagementForest -eq "True") { $OspAzureUser2 = Get-LinkedUser -DomainController $RoleDomainController | where {$_.Name -ieq "OspAzureUser2"}; if($OspAzureUser2 -eq $null) { $OspAzureUser2UPN = "OspAzureUser2@" + $RoleFullyQualifiedDomainName; $OspAzureUser2 = New-LinkedUser -Name "OspAzureUser2" -UserPrincipalName $OspAzureUser2UPN -DomainController $RoleDomainController; } }
If ($RoleDatacenterFfoEnvironment -eq "True") { $ospUserName = "OspUser"; Set-ThrottlingPolicyAssociation -Identity $ospUserName ...
If ($RoleDatacenterFfoEnvironment -eq "True") { $ospUserName = "OspUser"; Set-User $ospUserName -RemotePowerShellEnabled ...
if ($RoleDatacenterFfoEnvironment -eq "True") { Install-CannedRbacRoleAssignments -InvocationMode $RoleInstallationMode -DomainController ...
if ($RoleDatacenterFfoEnvironment -eq "True") { Install-CannedRbacRoles -InvocationMode $RoleInstallationMode -DomainController ...
if ($RoleDatacenterIsManagementForest -eq "True") { $OspAzureUser2 = Get-LinkedUser -DomainController $RoleDomainController ...
if ($RoleDatacenterIsManagementForest -eq "True") { $policyName = Microsoft.Exchange.Data.Directory.SystemConfiguration. ...
if ($RoleDatacenterIsManagementForest -eq "True") { $userName = "OspAzureUser"; $OspElevationScriptsRoleName = "OspElevation"; ...
if ($RoleDatacenterIsManagementForest -eq "True") { $userName = "OspAzureUser2"; $ospAzureRoleName = "OspAzure"; $roleAssignment ...
if ($RoleDatacenterIsManagementForest -eq "True") { Set-ThrottlingPolicyAssociation -Identity "OspAzureUser2" -ThrottlingPolicy ...