snap-in

PowerShell: How to mount drive programatically from SnapIn

I am creating a suite of custom cmdlets and providers in C#. I also have a PowerShell SnapIn that takes care of registering the cmdlets and providers. I have exported a console session so that I can start PowerShell with the -PSConsoleFile parameter to automatically load my snap in. I also want to mount a drive whenever I run PS wit...

What are MMC extension snap-ins?

Looking through our MMC snap-in code I can't get one concept. We have a tree of different class items inserted into MMC snap-in root node and only two of them register themselves as extensions. These two classes are nothing special compared to any other classes we use to represent the MMC tree items. Yet only these two register themselve...

Referencing external assemblies from PowerShell snap-in

I'm developing a custom PowerShell snap-in, which references another project in the solution. When I try to debug the snap-in (following [these instructions][1]), the assembly fails to load and my cmdlet fails with the message "Could not load file or Assembly..." How do you instruct PowerShell on how to locate assemblies, or how do yo...

Snapin not appearing in the 'Add or Remove Snap-ins' dialog?

Im having issues trying to get a custom snapin to display in the Add/Remove Snap-ins dialog (MMC). Is this done though a registry key? ...

MMC could not create the snap-in error when lunching internet information services on windows 2003 server

Hi, i get the following error: MMC could not create the snap-in. the snap-in might not have been installed correctly. Name: Internet Information Services (IIS) Manager when lunching internet information services on windows 2003 server i've checked previous questions and posts which got solved with the following command: re...

mmc snap-ins extension

Looking for how to create a snap-in extension. I know how to create STANDALONE snap-ins but, also need to look into the snap-in extensions. I'd like to create them in c#. ...

custom mmc snap-ins icon

Looking into how to provide the icon for my custom mmc snap-ins. Language = c# ...

MMC custom snap-ins installation

I have written a snap-in in c#. I tried installing it using installutil and it didn't work at first. I notice that on the msdn page they said to run mmcperf to install the management.dll into the GAC. Doing this, I was able to install my snap in and run it. I have an xp machine. My question is how am I to deploy my custom snap in o...

MMC 3.0 snap in development and 'connect to another computer...' dialog

Hello, I'm in the process of developing a custom MMC 3.0 snap-in and was wondering if there is some built in SDK/API way of connecting to another computer running the same snap-in? If so, can someone provide some code samples or links to tutorials on how this is possible? If it is not possible, what do you recommend to use for commun...

How to develop a snap-in for IIS 6.0 manager in MMC 2.0

I have some IIS 6.0 filters and extensions that I need to create a configuration panel for in IIS Manager. I need to create something similar to the ASP.NET tab, for instance. I need to support versions of Windows Server 2003 prior to R2, and can't assume that they will have the MMC 3.0 update installed, so I guess I have to do it with ...