Manage Exchange 2010 via Windows PowerShell 2.0 (CTP3)

 
It is not even required to install the Exchange 2010 Management tools on a machine in order to manage Exchange 2010, at least not if you prefer to do so using the Shell.
 
Just open the shell and run the below cmdlets:
$SkipCertificate = New-WSManSessionOption –SkipCACheck –SkipCNCheck –SkipRevocationCheck
$Session = New-PSSession –ConfigurationName Microsoft.Exchange –ConnectionUri https://<E2K10Server&gt;.domain.com/PowerShell/ -Authentication NegotiateWithImplicitCredential –SessionOption $SkipCertificate
Import-PSSession $Session
 
Now as done with running the cmdlets just play around….
New-Mailbox –Name ‘user1’ –UserPrincipalName ‘user1@adexch.com’
New-DistributionGroup –Name ‘Test Distribution Group’
Add-DistributionGroupMember –Identity ‘Test Distribution Group’ –Member ‘user1’
Get-DistributionGroupMember –identity ‘Test Distribution Group’
 
Advertisements
This entry was posted in Exchange Servers. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s