No announcements
Found 2007088 threads
-
19 Votes
Powershell-Script to remove all group memberships for one user
I would like to be able to remove ALL groups for a particular user EXCEPT those that start with "ABC".Answered | 23 Replies | 98743 Views | Created by joelh80 - Thursday, June 17, 2010 6:17 AM | Last reply by Nemanja.Jovic - Monday, August 28, 2017 10:45 AM -
13 Votes
Powershell Script to obtain current user Group Membership
The below script works for me & gives the total collection of all groups that am part of $filter = ...Answered | 9 Replies | 67486 Views | Created by Jim Lahey - Thursday, May 6, 2010 8:42 PM | Last reply by Bill_Stewart - Tuesday, March 27, 2012 3:20 PM -
0 Votes
script for removing group membership for disabled accounts
https://social.technet.microsoft.com/Forums/scriptcenter/en-US/f388fbc8-a83d-40b7-b054-ad020034a7c1/need-script-remove-disabled-users-from-security-groups?Answered | 3 Replies | 2222 Views | Created by mcsebala - Monday, March 7, 2016 5:50 PM | Last reply by Mahdi Tehrani - Tuesday, March 8, 2016 12:30 PM -
0 Votes
Removing group membership from many users
Hi, It's fairly easy to get powershell to do all that: change password, disable account, set it to expire (although not needed if already ...Answered | 9 Replies | 1754 Views | Created by kenco8801_bh - Wednesday, April 17, 2013 10:32 AM | Last reply by kenco8801_bh - Friday, April 19, 2013 1:31 PM -
1 Votes
Remove all groups from one user
No one is going to see this, you're hijacking an answered thread.Answered | 11 Replies | 3222 Views | Created by Brian Jorgenson (MCITP, MCSE, CISSP) - Friday, December 6, 2013 4:09 AM | Last reply by Mike Laughlin - Friday, May 16, 2014 12:58 PM -
0 Votes
Script to remove Disabled Users from All AD Groups
If all or some users (in the Users OU) primary group is not Domain Users.Answered | 6 Replies | 16523 Views | Created by Michael J. Mahoney - Monday, August 15, 2016 10:06 PM | Last reply by Vincent Karunaidas - Thursday, August 18, 2016 2:48 PM -
3 Votes
Copy group memberships from specific user to another user with powershell?
Check out this website to see a PowerShell Script to Copy one user to another with a ...Answered | 14 Replies | 55153 Views | Created by Murat Sarıyer - Friday, April 13, 2012 10:18 AM | Last reply by Easy Tech Time - Tuesday, November 28, 2017 4:07 AM -
3 Votes
Group membership logon script and functions
membership the user is a member of.Answered | 13 Replies | 8139 Views | Created by JustAlm - Tuesday, April 10, 2012 2:01 PM | Last reply by jrv - Tuesday, April 10, 2012 6:56 PM -
0 Votes
Copying Group Membership from one user to another
I added steps to check for membership before adding or removing.Answered | 15 Replies | 13387 Views | Created by Jeff Zeitlin - Thursday, October 20, 2011 9:21 PM | Last reply by Angelo Papiccio - Wednesday, August 15, 2012 12:23 AM -
1 Votes
PowerShell script not listing all users & groups in ACL
Fred, I tried using your example above, however, it resulted in a group and a user still missing from the ACL.Answered | 6 Replies | 3107 Views | Created by madbeast - Thursday, January 21, 2016 8:32 PM | Last reply by madbeast - Friday, January 22, 2016 4:12 PM -
0 Votes
Exchange Powershell script for DL Group Membership
If so, I think this script will be useful to you: $groups = Get-DistributionGroup $Users= Import-Csv c:/temp/mailboxes.csv ...Answered | 4 Replies | 1437 Views | Created by BrianDougherty - Tuesday, March 26, 2019 5:25 PM | Last reply by BrianDougherty - Thursday, April 4, 2019 5:16 PM -
1 Votes
Powershell script to pull users and their groups and export to csv
Look in the Gallery as there are many scripts that do what you ask.Answered | 5 Replies | 1049 Views | Created by msloy - Wednesday, August 5, 2015 6:21 PM | Last reply by jrv - Wednesday, August 5, 2015 6:57 PM -
0 Votes
Assistance with Disabled User Group Removal PS script
I am trying to create a powershell script that will do two things in regards to disabled computers and users: For Disabled Computers: It will move the ...Answered | 1 Replies | 937 Views | Created by AFIT - Friday, September 30, 2016 5:23 PM | Last reply by Mike Laughlin - Friday, September 30, 2016 5:26 PM -
3 Votes
issue with powershell script for add and remove users of the local administrator group
This can't be achived by Restricted Groups GPO mechanism (if you can do this - please share your solution) In my opinion it need to be use a ...Answered | 22 Replies | 15060 Views | Created by Blan8370 - Wednesday, September 7, 2011 2:05 PM | Last reply by jrv - Thursday, June 27, 2013 11:36 AM -
0 Votes
Remove all users listed in a txt file from all groups
Had a though (amazing what a weekend can do) instead of getting all the groups in your domain just make the script take each group from the users memberof ...Answered | 6 Replies | 2734 Views | Created by BHof - Friday, September 9, 2016 12:41 PM | Last reply by Andyw133 - Monday, September 12, 2016 7:29 AM -
4 Votes
Copy Group Memberships from One User to Another in PowerShell
PowerShell doesn't seem to like adding "LDAP://" and $user2.distinguishedName Exception calling ...Answered | 3 Replies | 14837 Views | Created by MrGary31 - Sunday, March 13, 2011 6:48 PM | Last reply by - Monday, March 14, 2011 1:04 AM -
1 Votes
DS query for users and group membership
Hi, You are looking out for User's Direct Group membership or both direct & indirect group membership ?Answered | 12 Replies | 47155 Views | Created by lpis - Saturday, September 22, 2012 8:10 PM | Last reply by MarDr - Monday, October 1, 2012 3:58 PM -
1 Votes
Attempting to remove aduser from all groups error in script please help
It returns all users from the OU.Answered | 13 Replies | 976 Views | Created by NarlyAdmin - Tuesday, July 31, 2018 11:38 PM | Last reply by - Friday, August 3, 2018 12:30 AM -
0 Votes
new user group membership
You could create a dynamic group via a PowerShell script but I would advise you to make sure this script isn't run on a dc where there is a lot of activity or on a ...Answered | 5 Replies | 3819 Views | Created by Mohd_123 - Tuesday, February 15, 2011 11:00 AM | Last reply by pbbergs [MSFT] - Tuesday, February 15, 2011 1:06 PM -
1 Votes
Powershell Script to get all users not member of groups required
The -Like syntax is more common and the one I use when I use PowerShell filters (I generally use LDAP filters myself).Answered | 6 Replies | 4752 Views | Created by FrankP4530 - Tuesday, November 24, 2015 7:59 PM | Last reply by Richard Mueller - Tuesday, November 24, 2015 11:47 PM - Items 1 to 20 of 2007088 Next ›
No announcements