I often need to collect the groups an user in part of, sometime because of a decommission others just for documentation. Taking screenshots of an user that has a bunch of groups is a pain and doesn’t allow you to use the group list. Now the latest version of powershell comes with a command to make this painless.
Get-ADPrincipalGroupMembership username | select name
That’s it, your done. Simple and quick. I love powershell 🙂
Quick link from Twitter, don’t want to lose the link https://twitter.com/anoopmannur/status/1497256566206181376?s=21 https://www.anoopcnair.com/set-automatic-lock-screen-for-inactive-device-intune/