how can i have exchange commandlets in my powershell ?


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.

Erwin PombettAsked:
Who is Participating?
Iamthecreator OMCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.