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

Exchange 2003

$
0
0

Hello,

I have prepared a script which brings the result of mailbox size for all the user in exchange 2003, but I am unable to do that by using the input file for the specific users. Please help.

$Names = Import-CSV D:\MoveMailbox\Scripts\user.csv
Foreach ($Line in $Names) { 

get-wmiobject -namespace root\MicrosoftExchangev2 -class Exchange_mailbox -computer Server01 | Select ServerName,StorageGroupName,StoreName,MailboxDisplayName,Size | Export-csv Mailboxsize.csv

}


Ali Hussaini


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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