Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
# run [Exchange Management Shell]
PS C:\Users\exchangeadmin> LaunchEMS
[PS] C:\Users\exchangeadmin> net user /domain
The request will be processed at a domain controller for domain srv.world.
User accounts for \\fd3s.srv.world
-------------------------------------------------------------------------------
$531000-8BNLI1MDF6VQ Administrator Debian
ExchangeAdmin Guest HealthMailbox0cf9d9b
HealthMailbox10f6352 HealthMailbox3288295 HealthMailbox3439285
HealthMailbox6afc449 HealthMailbox863808d HealthMailbox9197a82
HealthMailboxbdc3100 HealthMailboxbf80b5d HealthMailboxcdbb406
HealthMailboxe73d1c5 krbtgt RedHat
Serverworld SM_1c042e60271e4461a SM_32d9670ce1ec4756a
SM_3dc5bc30b0804baea SM_59b3947d866540da9 SM_7dcdfdf97d1347119
SM_9a9c0df8a401436eb SM_9e6e3b455d8d4e8db SM_a88cc8e1cbd040bb9
SM_b07e7813b41b46659 Ubuntu
The command completed successfully.
# create a mailbox for existing domain account [Serverworld]
[PS] C:\Users\exchangeadmin> Enable-Mailbox -Identity Serverworld
Name Alias ServerName ProhibitSendQuota
---- ----- ---------- -----------------
Server World Serverworld rx-7 Unlimited
[PS] C:\Users\exchangeadmin> Get-Mailbox
Name Alias ServerName ProhibitSendQuota
---- ----- ---------- -----------------
Server World Serverworld rx-7 Unlimited
Exchange Admin ExchangeAdmin rx-7 Unlimited
DiscoverySearchMailbox... DiscoverySearchMa... rx-7 50 GB (53,687,091,200 bytes)
# create a new domain account and mailbox
[PS] C:\Users\exchangeadmin> New-Mailbox -UserPrincipalName fedora@srv.world `
-Name "Fedora Linux"`
-OrganizationalUnit Hiroshima `
-Password (ConvertTo-SecureString -AsPlainText "P@ssw0rd01" -Force) `
-FirstName Fedora `
-LastName Linux `
-DisplayName "Fedora Linux" `
-ResetPasswordOnNextLogon $False
Name Alias ServerName ProhibitSendQuota
---- ----- ---------- -----------------
Fedora Linux fedora rx-7 Unlimited
[PS] C:\Users\exchangeadmin> Get-Mailbox
Name Alias ServerName ProhibitSendQuota
---- ----- ---------- -----------------
Server World Serverworld rx-7 Unlimited
Exchange Admin ExchangeAdmin rx-7 Unlimited
DiscoverySearchMailbox... DiscoverySearchMa... rx-7 50 GB (53,687,091,200 bytes)
Fedora Linux fedora rx-7 Unlimited
|