Sometimes, you might need to grant certain domain users, such as desktop support staff, the Network Configuration Operators role or even Local Administrator privileges on specific client machines to perform tasks that require elevated permissions. While this can be done by manually adding users to the appropriate local security groups, it’s a tedious, repetitive task—and there’s a risk of forgetting to remove these elevated permissions afterward.
Continue reading “Powershell Script for temporarily Adding Domain User to Privilege Group”