The debug output says almost nothing for that statement...
++? if (Group-Name == "net_su")
? Evaluating (Group-Name == "net_su") -> FALSE
++? if (Group-Name == "net_su") -> FALSE
Cameron Wood wrote:And the debug mode says... ?
> I first tried using Group-Name as that works in the Users file...
>
> if (Group-Name == "net_su") {
If you're interested in never solving the problem, you're off to a
good start.