Add Exchange PowerShell To VS Code

In this blog, I will show you how to use Exchange Management Shell with VS Code.

PowerShell

The first step of using Exchange with VS Code is by installing the PowerShell extension for VS Code.

Open Terminal

In the second step, I wil open the terminal panel in VS Code using top navigation menu.

Load PSSnspin

From the terminal screen, I will run the following PowerShell command to load the Exchange Shell into the VS Code terminal.

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn

Note: Make sure you install the Exchange Management Tools before running the above command.

Processing…
Success! You're on the list.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.