Create user live edu menggunakan powershell

Saat ini saya mulai menggunakan live.edu , layanan email gratis dari microsoft , keputusan ini di ambil dikarenakan alasan space yang semakin besar  untuk menangani seluruh email student, dan alumni BiNus University. Berikut cara untuk create user melalui command Powershell pada windows 7:

Pilih powershell as administrator

  1. $LiveCred = Get-Credential
  2. $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection
  3. Import-PSSession $Session

Create user

  1. New-Mailbox -WindowsLiveID marketing@samson.org -Name "marketing" -DisplayName "marketing" -Password (convertto-securestring "123456" -asplaintext -force) -ResetPasswordOnNextLogon $False

Forwarding

  1. Set-Mailbox marketing@samson.org -ForwardingSmtpAddress marketing@live.samson.org -DeliverToMailboxAndForward $true

Leave a Reply

Your email address will not be published. Required fields are marked *


8 × one =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>