Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True")) { $mgmtForestOpRoleGroupName ...

Wenn (($RoleDatacenterIsManagementForest - Eq "True")- oder ($RoleDatacenterFfoEnvironment - Eq "True"))          {              $mgmtForestOpRoleGroupName = "Mit Leserechten Mgmt Gesamtstruktur Operator"              $viewOnlyRoleGroupName = "Organisationsverwaltung"$mgmtForestOpRoleGroup = Get-RoleGroup $mgmtForestOpRoleGroupName              $viewOnlyRoleGroup = Get-RoleGroup $viewOnlyRoleGroupName$mgmtForestOpRoleMembers = Get-RoleGroupMember-Identity $mgmtForestOpRoleGroup.Identity | Wobei {$_.Namen - Ieq "ViewPointServiceAccount"}              Wenn ($mgmtForestOpRoleMembers - Eq $null)              {                  Add-RoleGroupMember-Identity $mgmtForestOpRoleGroup.Identity-Member "ViewPointServiceAccount" - BypassSecurityGroupManagerCheck              }$viewOnlyRoleMembers = Get-RoleGroupMember-Identity $viewOnlyRoleGroup.Identity | Wobei {$_.Namen - Ieq "ViewPointServiceAccount"}              Wenn ($viewOnlyRoleMembers - Eq $null)              {                  Add-RoleGroupMember-Identity $viewOnlyRoleGroup.Identity-Member "ViewPointServiceAccount" - BypassSecurityGroupManagerCheck              }          }
English
English (United States)
Deutsch (Deutschland)
German (Germany)
Español (España)
Spanish (Spain)
Français (France)
French (France)
italiano
Italian
Português
Portuguese
Русский
Russian