Bulk-create external contacts in Exchange Online

Do you have lots of existing business contacts that you want to include in the shared address book in Exchange Online? Or add your contacts as members of distribution groups, just like you can with users inside your company? If so, you can use Windows PowerShell and a CSV (Comma Separated Value) file to bulk…

Export All Mailboxes from Exchange2007 without the Fuss…

OK, so you have managed to get yourself through the nice issue of being able to export email from exchange2007 via Power-shell http://technet.microsoft.com/en-us/library/bb266964(v=exchg.80).aspx , Where you needed a whole list of things (32 bit machine,Powershell,.net framework,Exchange Management Tools (2007),Outlook,IIS components enabled etc… but you still have the problem of needing to export ALL mailboxes at once (seperating…

PowerShell Script to set all passwords to be the same in Office365

Create a CSV file with the following format: UPN,Password mary@mycompany.ie,Ireland1002* save it as resetuserpassword.csv $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session Connect-Msolservice Import-CSV “c:\users\pgilbride\desktop\resetuserpassword.csv” | foreach {Set-MsolUserPassword -userPrincipalName $_.UPN -NewPassword $_.Password -ForceChangePassword $false1} Obviously change the location above (in bold) to be that of your…

Add multiple members to a distribution group in O365

To create bulk distribution groups at one time, and add multiple members to each distribution group, please take to the following steps: 1. Install and configure Windows PowerShell. 2. Connect Windows PowerShell to Exchange Online. ========= Create bulk distribution groups at one time 1. Prepare a CSV file to import multiple distribution groups, and store it in…

Script to set all PW to never expire in O365

Following on from the previous post, here is the complete script. Copy and paste it into Powershell. It will ask for Id and PW twice, please input. $LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection Import-PSSession $Session Connect-Msolservice Get-MsolUser | Set-MsolUser -PasswordNeverExpires $true Get-MsolUser | Select UserPrincipalName, PasswordNeverExpires