Temporary Local Admin to domain users

Welcome Forums General PowerShell Q&A Temporary Local Admin to domain users

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
1 year, 7 months ago.

  • Author
    Posts
  • #68905

    Participant
    Points: 21
    Rank: Member

    Hi Mates,

    Is there any way to add a domain user to local administrators group for specific number of days on his VDI ? Once the no of days gets completed, user id must b removed from the group.

    Thanks,
    Narayan

  • #68907

    Participant
    Points: 259
    Helping Hand
    Rank: Contributor

    As far as I remember there no such function build in. You would have to create it by yourself. You could use scheduled tasks to remove the account when the time is up.

The topic ‘Temporary Local Admin to domain users’ is closed to new replies.