# Microsoft configuration manager module

**URL:** <https://forums.powershell.org/t/microsoft-configuration-manager-module/22187>\
**Category:** PowerShell Help\
**Created:** [April 22, 2023, 5:50am UTC](https://forums.powershell.org/t/microsoft-configuration-manager-module/22187 "2023-04-22T05:50:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![amiros](https://avatars.discourse-cdn.com/v4/letter/a/258eb7/32.png) [@amiros](https://forums.powershell.org/u/amiros)\
**Post date:** [April 22, 2023, 5:50am UTC](https://forums.powershell.org/t/microsoft-configuration-manager-module/22187/1 "2023-04-22T05:50:08Z")

</div>

Hi to all,  
I have wrote a simple script in powershell that interact with Configuration manager.  
Every time the support personal run the script, the import-module configurationmanager are loaded and takes about 10 seconds.  
Is there a way to make sure the module is already loaded and save this 10 seconds.  
Thank you very much  
Amir 🙂

---

<div class="post-metadata">

**Author:** ![Olaf](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/olaf/32/992_2.png) [@Olaf](https://forums.powershell.org/u/Olaf)\
**Post date:** [April 22, 2023, 8:49am UTC](https://forums.powershell.org/t/microsoft-configuration-manager-module/22187/2 "2023-04-22T08:49:14Z")

</div>

Amir,  
Welcome to the forum. 👋🏼

> [@amiros](#):
>
> Is there a way to make sure the module is already loaded and save this 10 seconds.

Well … since you do not share any code or some more information about how your script is used …

… It depends … 🤷🏼‍♂️

First of all - how often or how frequently do they have to use your script? Does it really matter if it takes 10 seconds? If _yes_ … How do these support personal work? Will they have an open PowerShell session and only call your script? Or will they launch a new PowerShell instance with your script? Do they have the Configuration Manager module installed locally or do they load it remotely from the server?

These questions are not meant to be answered by you. They are food for thought!! 👆🏼 😉

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:14pm UTC](https://forums.powershell.org/t/microsoft-configuration-manager-module/22187/3 "2024-05-16T20:14:54Z")

</div>

Closed on May 16, 2024, 8:14pm UTC


