Let’s get started connecting to our MECM Software Center through PowerShell.

To get started, connecting to the server should be fairly straight forward. Just input the Site Code and the Domain of the site. If you don’t know what yours is, open Microsoft Endpoint Configuration Manager.

At the top, look at what it says after “Connected to...” and it should have an three letter drive name and a domain. For example: ABC, mecm.abc.edu

This is what you want to put into MECM Buddy to connect.

Cool Fact: You can also find what I based my connection script off of by clicking on the top left toolbar in MECM and copying what it generates when you click “Connect via Windows PowerShell ISE”

This will generate a script that you can then use to make commands. If you’re interested, here is a list of available CM commands in PowerShell

Also, I am assuming the path to MECM on your system is local, it is updated to be fairly recent (like 2019), and that you are running Windows 10 or later. If you are doing all these things, you will probably have less issues.

Here’s where you can get a similar script to what I am using:

Untitled

Once you click connect, MECM Buddy will connect to MECM. Half way through the loading bar, it will start loading all the names of your scripts and deployment groups into the GUI. Once it finishes, the other tabs that rely on MECM will be enabled.

MECM.png