+ Post New Thread
Results 1 to 2 of 2
Windows Server 2012 Thread, Powershell - Remove groups from computer in Technical; Hi, I am looking for a powershell command to remove all groups from a computer account in AD. I have ...
  1. #1

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,374
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468

    Powershell - Remove groups from computer

    Hi,

    I am looking for a powershell command to remove all groups from a computer account in AD. I have found the reverse, to remove all computers from a group, but can't find the one i need.

    Can anyone help please?

    Thanks

  2. #2

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    16,374
    Thank Post
    906
    Thanked 1,811 Times in 1,559 Posts
    Blog Entries
    12
    Rep Power
    468
    Got it

    Get-QADcomputer -Name <PC NAME> | Remove-QADMemberOf -RemoveAll
    Last edited by FN-GM; 19th December 2013 at 08:31 AM.

  3. Thanks to FN-GM from:

    AngryTechnician (19th December 2013)



SHARE:
+ Post New Thread

Similar Threads

  1. remove seetings from old group policy
    By Uraken in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 8th May 2009, 11:58 PM
  2. remove group policy restrictions from admin account?
    By Halfmad in forum Windows Server 2000/2003
    Replies: 3
    Last Post: 4th February 2009, 12:13 PM
  3. Remove users from group after a set time automatically
    By markwilliamson2001 in forum How do you do....it?
    Replies: 9
    Last Post: 5th July 2008, 09:27 PM
  4. Replies: 3
    Last Post: 3rd October 2007, 02:57 PM
  5. Moving Users to a New Group and Removing them from the old
    By ninjabeaver in forum How do you do....it?
    Replies: 5
    Last Post: 6th December 2006, 12:48 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •