• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 765
  • Last Modified:

PowerShell - Quest - How to Remove a group from multiple machines.

I just got great help from Subsun on adding a group to multiple machines ( link below) , now Id also would like to be able to remove a group from multiple machines .

Thank you for all the help !

1 Solution
You just need to change Add to Remove
GC C:\Servers.txt | %{

$group = "YourGroup"


Open in new window

MilesLoganAuthor Commented:
Thank you !
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

We Need Your Input!

WatchGuard is currently running a beta program for our new macOS Host Sensor for our Threat Detection and Response service. We're looking for more macOS users to help provide insight and feedback to help us make the product even better. Please sign up for our beta program today!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now