$objUsers = get-mailbox -ResultSize Unlimited | select UserPrincipalName #Iterate through all users foreach ($objUser in $objUsers) { #Connect to the users mailbox $objUserMailbox = get-mailboxstatistics […]
Month: October 2012
Using ADSIEdit to change e-mail aliases on Office 365
Go to Start > Run and type adsiedit.msc Now, find the unit where your AD user’s reside Right click the user you want to edit […]
Enabling Desktop Experience in Server 2012
Type this in command prompt: dism /online /enable-feature /all /featurename:DesktopExperience
Setting Calendar permission Exchange 2010
To set the sharing permission for you, please refer the steps below, 1), connect to Exchange Online through PowerShell as administrator. 2), run Get-Mailbox to […]
Setting Office 365 User with Send As permission
Connect to O365 $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session Send As Add-RecipientPermission sendas@yourdomain.com […]
Converting Office 365 User Mailbox to Shared Mailbox
First connect to Office 365 Connect to O365 $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session […]