• Temporary group membership

    HI,  I would like to add a group by midnight through a script, I know the GUI has the setting to set date and time but how would I do it using a script.

    Command:

    Add-QADgroupmember -identity "groupname" -member $ADuser   (tonight at midnight)

  • Add group based on user attribute

    Does anyone have the beginnings of a powershell script.  

    During user create I have to populate the orgunit with a value.  Based on that value I have to add it to a group.

    For example if

    orgunit = 1 or 2 and to group A

    orgunit = 3 or 4 and to group B