Link to home
Start Free TrialLog in
Avatar of Ron Shorts
Ron ShortsFlag for United States of America

asked on

Powershell command to remove Office 365/msol users from CSV input

I'm looking how to run the commands to delete msol users and empty the recylce bin from a csv or txt list, the commands I have are:

Remove-MsolUser -UserPrincipalName users@domain.com -Force
Remove-MsolUser -UserPrincipalName users@domain.com -RemoveFromRecycleBin -F

Thank you
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Ron Shorts

ASKER

Thank you!!!