Managing user list and group list

Home Forums Scripting PowerShell Managing user list and group list

Viewing 1 post (of 1 total)
  • Author
    Posts
  • Avatar
    kriera
    Member
    #155277

    Hi everyone, first of all thanks
    Here is my doubt:
    I’ve more than 10 groups for each citrix app: example, GG_citrix_1 2 3 4 5…. etc
    and inside those groups lot of users, and need to remove just certain of them.
    As far as i can i’m able to set the variables $users and $groups.
    But completely lost on how to continue
    #$users = Get-QADUser -SearchRoot OU | select samaccountname # define the list of users.
    #$groups = Get-QADGroup GG_CITRIX_* # define the variable with the list of groups
    here i’ve tryed with foreach command but no luck :/

    Thanks in advance

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.