Change primary EmailAddress with powershell in Office365

To change the primary emailaddress of an Office365 mailbox follow the following steps:

Connect to Office365:
$Cred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection

Import-PSSession $Session

Step 2:

set-mailbox -identity user@domain.com -WindowsEmailAddress newaddress@domain.com

Office365 , , ,

Set autoreply on Office365 mailbox with powershell

Sometimes you want to set een autoreply on an Office365 mailbox, so external senders receive a message when the an email to the mailbox.
First thing you have to do is connect to Office365

$Cred = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

Second thing is to set the autoreply message:
Set-MailboxAutoReplyConfiguration -Identity <Identity> -AutoReplyState Enabled  -ExternalMessage “External auto-reply message.”

Office365 , , ,

Manual sync to Office 365 (DirSyncConfigShell.psc1 missing)

In Dirsync version 1.0.7020.0 the DirSyncConfigShell.psc1 is missing.
To manual sync to Office 365 you have to import Module DirSync and then start the OnlineCoexistenceSync

Start PowerShell==> Get-Module -ListAvailable
>Import-Module DirSync
>Start-OnLineCoexistenceSync

 

Office365 , , ,

Convert user mailbox to Shared Mailbox

To convert a user mailbox to a shared mailbox you can perform the following steps

  • Start powershell
  • $Cred = Get-Credential
  • $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
  • Import-PSSession $Session
  • Set-Mailbox “mailboxname” -Type shared
Office365 , ,

ConfigMgr 2012 / SCCM 2012 SP1 Step by Step Guide by Gary Hampson

Great tutorial to install / configure SCCM 2012

Source: Blog by Gary Hampson

SCCM 2012 , ,