Powershell, automation, IT problem solving, Windows, Linux and more.......
Wednesday, March 1, 2017
Powershell --> Powerquick : move disabled users from a group to another
Hi Mates,
quick and useful : how many times you needed to have a clean group because to this specific group there was associated a software usage/number of licenses ?
It happened to me but my need was also to have a trace of the users that were members of this group.
So I started creating a group that hosts all disabled user account that TODAY are not using the software "attached" to the main group, but tomorrow I could need to know if a "returning" user had right to be a part of it......a sort of history.
So what this script does : check group members, identify disabled users, add them to another group, remove them from the original one.
Anyway less words and more facts...here you are :
Really skinny.
No complications, no tricks, only the essential.
Hope this helps.
See you soon
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment