I have a powershell logon script that is governed by group policy.
It works great except one thing.
I have this awesome little piece that goes something like,
$user = (GetADUser -Identity $env:USERNAME -Poperties MemberOf,sAMAccountName | Select-Object MemberOf,sAMAccountName) if ($user.Memberof -match $someMembershipInAD) {put a file on their desktop}However, the client systems do not have the AD module, nor will it be installed. Is there another way to check the users security memberships?