I am trying to create a script to remove specific users from groups.
The following works just fine:
However I want to use a variable for the account name and I can't ge t it to work. Something a long the line of:
$BU = "Bad_User"
How do I format this string, and what should i have googled to figure it out?