Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Video
PowerShell
Run the following WindowsPowerShell RUN AS ADMINISTRATOR
$LiveCred = Get-Credential
Windows PowerShell Credential Request window that opens.
Ttype the credentials of an account in your cloud-based organization
When you are finished click OK
Run this Session Connection
Uri https://ps.outlook.com/powershell/ Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
enables cloud-based organizations in datacenters all over the world to connect Windows PowerShell to the cloud-based server
Import the session
Import-PSSession $Session
http://i1.wp.com/yshvili.com/wp-content/uploads/2015/12/images_cloude.JPG?resize=531%2C133
SMTP Address Export
Get-Mailbox -ResultSize Unlimited | Select-Object DisplayName,PrimarySmtpAddress | Export-CSV “c:\SmtpAddress.csv”
the info in a csv file
Get-mailbox | Get-Mailboxstatistics | select displayname,TotalItemSize | export-csv “c:\yanivmailbox.csv”
http://i1.wp.com/yshvili.com/wp-content/uploads/2015/12/images_cloude4.JPG?resize=532%2C62
Mail Box Size Including the Item
Get-Mailbox | Get-MailboxStatistics | ft DisplayName,TotalItemSize,ItemCount
http://i1.wp.com/yshvili.com/wp-content/uploads/2015/12/images_cloud2.JPG?resize=528%2C90
Get the mailbox size using
Get-mailbox | Get-Mailboxstatistics | select displayname,TotalItemSize
http://i2.wp.com/yshvili.com/wp-content/uploads/2015/12/images_cloude3.JPG?resize=526%2C73