Quantcast
Channel: Office 2013 and Office 365 ProPlus - Planning, Deployment, and Compatibility forum
Viewing all articles
Browse latest Browse all 3748

Powershell command to list users not in specified group - Office 365

$
0
0

Hello,

I can find lots of articles how to list all users of a specified group in PowerShell for Office 365, but nothing on how to list all users that are NOT members of a specified group. Is this possible using a single line in PowerShell with pipes for example? Or will this require a script? If so, what would the script or or command look like to list all users who are NOT in the group named: group1 for example?

Thank you!


Viewing all articles
Browse latest Browse all 3748

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>