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!