Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

office365 new-msoluser

$
0
0

Hi I've got a script which creates new office365 users/mailboxes from csv using the new-msoluser commandlet. I was wondering if it were possible to include the add-distributiongroupmember command into the routine for creating new-msolusers ? So basically complete the account creation for 'John Doe' and then pipe that user into the same foreach routing into the chosen distribution group ?


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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