So much to remember
BrainDump from my daily life in Information Technology
Thursday, August 23, 2012
Powershell - remove user from list of groups
#
# remove user from list of groups
#
#
get-content "C:\app\lols.txt" | % {get-adgroup $_ | remove-adgroupmember -Member dgoodlif -Credential $myadmin -confirm y}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment