Over 10 years we help companies reach their financial and branding goals. Engitech is a values-driven technology agency dedicated.

Gallery

Contacts

411 University St, Seattle, USA

engitech@oceanthemes.net

+1 -800-456-478-23

Office 365 Powershell Task Add new smtp email address

Run Powershell.exe as administrator
Set-ExecutionPolicy unrestricted Note: Allow Scripts

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

get-mailbox Note: to get alias for object mailbox

Set-Mailbox janedoe -EmailAddresses @{add=”smtp:test@yourdomain.onmicrosoft.com”}

(Get-Recipient janedoe).emailaddresses Note: List email addresses

More Posts

Employee Spotlight: Alexys

AngelCom is featuring our Sr Systems Engineer, Brandon, for the June Employee Spotlight. Read about how and what a Systems Engineer does at AngelCom.

Employee Spotlight

AngelCom is featuring our Sr Systems Engineer, Brandon, for the June Employee Spotlight. Read about how and what a Systems Engineer does at AngelCom.