Coretech WMI & PowerShell Explorer Part II

As mentioned in my previous post (using the WMI feature of the tool) we have recently released a new tool – the Coretech WMI and PowerShell Explorer. For information about downloading and installing the tool checkout this blog post from Kaido Järvemets. 

The second main feature of the Coretech WMI and PowerShell Explorer is the PowerShell module. The intention with this module is to help you get started with Microsoft PowerShell and especially System Center 2012 Configuration Manager SP1 and PowerShell. The feature can be used to import custom PowerShell modules as well as built-in PowerShell modules. Once imported you can use the feature to easily see all the cmdlets in the module and navigate in the help topics. When working the built-in System Center 2012 SP1 Configuration Manager module; you will also be able to connect to and get access to hundreds of real life examples. is a public library packaged with hundreds of simple and advanced PowerShell examples. The library is maintained by Kaido Järvements, a Microsoft Enterprise Client Management MVP working @Coretech as consultant and trainer.

How to import Configuration Manager 2012 PowerShell module

  1. Launch the Coretech WMI and PowerShell Explorer as Administrator.
  2. Select Modules tab.
  3. Click Browse and select the ConfigurationManager.psd1 file. The PowerShell module is part of the Configuration Manager administrator console installation and is stored in c:\Programs Files(x86)\Microsoft Configuration Manager\AdminConsole\bin\ConfigurationManager.psd1 or <ConfigMgr server install dir>\AdminConsole\bin\ConfigurationManager.psd1


  4. Back in the Coretech WMI and PowerShell Explorer click Import.


  5. During the Import process you might be presented with an error dialog complaining about PowerShell not being supported in 64-bit version. You can safely ignore that error by clicking OK.


  6. Click Get Modules to load the imported modules.
  7. All loaded modules will be listed in the Select Module dropdown list. From the Select Module dropdown list click ConfigurationManager.


  8. From the Command dropdown list you’ll be presented with all the cmdlets in the ConfigurationManager module.


  9. Select the New-CMApplication cmdlet to view the help topics for the cmdlet.
  10. Now you should see the selected command help topics.


  11. In the right hand-side select Download Code example from CM12 SDK. You’ll now see one or more code examples that can be used in Configuration Manager 2012.


  12. Copy the example text and launch PowerShell from the Configuration Manager Administrator console.


  13. In PowerShell type (or paste) the code example from CM12 SDK to create the application.


  14. The application is now created in Configuration Manager.


Happy PowerShelling

By | 2013-06-19T15:59:03+00:00 June 19th, 2013|Configuration Manager (SCCM), General info|3 Comments

About the Author:

Kent Agerlund
Microsoft Regional Director, Enterprise Mobility MVP. Microsoft Certified Trainer and Principal consultant. I have been working with Enterprise client management since 1992. Co-founder of System Center User Group Denmark in 2009. Certified MCITP: Enterprise Administrator, MCSA+Messaing, and much more. Member of: Microsoft Denmark System Center Partner Expert Team The Danish Technet Influencers program System Center Influencers Program.


  1. […] A few weeks ago we released a new tool – WMI and PowerShell Explorer. You can use this tool to browse different namespaces, classes, methods etc and this tool is also integrated with CM12SDK web site and this means that you can download Configuration Manager 2012 PowerShell module command-let examples. You can read more about this feature from here […]

  2. Sonam November 20, 2013 at 9:41 - Reply

    hi, i imported the CM module and try changing the drive to CM Site, however the drive is not mounted to CMSite Provider (checked using get-psprovider command).

    can i achieve this using powershell command. tried with new-psdrive but getting null reference exception

    i know drive can be mounted by opening ps console from CM console, but i want to achieve this using powershell.

    please reply.

Leave A Comment