Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all articles
Browse latest Browse all 8719

Remove-Mailboxes using Powershell from CSV file

$
0
0

hello all ,

I encountered in problem with my exchange Server 2010
I have a mission to delete closed 150 Mailboxes in my organization
I tried a lot times to use the command "Remove-mailbox " and i anytime got error
I would appreciate the help of one of you maybe guide me because is very important for me to resolve this problem
so meantime i did export of mailbox from exchange server with content "Userpricplename" to CSV file after than export does success i did filtering and tried to perform this commad :" import-csv c:\Mailboxes.csv | foreach {Remove-Mailbox -userprincipalname $_.Emailadress }
please see the errors below :

excel content :


website: www.PelegIT.co.il





Viewing all articles
Browse latest Browse all 8719

Trending Articles



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