This works while on network or using VPN
Remove-LocalGroupMember -Group “Administrators” -Member “domain\Domain group name”
it doesn’t seem to work while off network and not connected to VPN
This works while on network or using VPN
Remove-LocalGroupMember -Group “Administrators” -Member “domain\Domain group name”
it doesn’t seem to work while off network and not connected to VPN
If I had to guess, I think perhaps you machine cannot resolve the domain username when off-network? In any case that sounds like a core Windows limitation, not a BigFix thing.
Can the powershell accept a member SID rather than username?
is there another way to remove a domain user/group from a windows 10 machine when “off network”?