We help IT Professionals succeed at work.

how can i have exchange commandlets in my powershell ?

Erwin Pombett
on
Hello,

I'm following tutorials where commandlets like : Get-Mailbox, Set-Mailbox are used to manage mailboxes in exchange.

do i have to import a module ?

any help will be welcome ;)

Thank you in advance.

Toshi
Comment
Watch Question

IT/EE Solution Guide
Commented:
You can enable the cmdlets by running the following

add-pssnapin *exchange* -erroraction SilentlyContinue

Which can also be added to the begining of any exchange related scripts.

For permanently enabling the exchange cmdlets have a look at the following articles
http://blog.zubairalexander.com/archives/4897