Author Posts

February 9, 2016 at 1:36 am

How to find if a user / group is a local or domain user / group in PowerShell

February 9, 2016 at 4:02 am

Can you show us a script?

February 17, 2016 at 2:38 am

If you are looking for group memberships of a particular user then you can use whoami command on the local machine which you can pipe the results to get the groups list, you can also use invoke-command to execute on remote machines.

whoami /user

whoami /groups /fo csv | convertfrom-csv | select -expandproperty "group name"