Questions tagged [snap-in]
37 questions
13
votes
1 answer
Add-PsSnapin WebAdministration in Windows7
I want to use PowerShell to administer my IIS7 on Windows7 64 bits.
I try install IIS7 Powershell snap-in http://www.iis.net/download/PowerShell
I "Run as administrator", then typing the command listed below: msiexec /I iis7psprov_x64.msi but I…

Kiquenet
- 14,494
- 35
- 148
- 243
8
votes
1 answer
Difference between PowerShell / SQL Server snap in's / tools?
I'm a bit confused with PowerShell snap in's and other "tools" that interact with SQL Server. So what is the difference between these tools:
SMO
SQLPS Module
SQLPSX
SQL Server PowerShell provider

jrara
- 16,239
- 33
- 89
- 120
6
votes
2 answers
How to add Powershell SnapIn in c#
I have a Powershell Script which is stored in a string called "script" with the content:
get-user | out-file C:\Users\user\Desktop\user.txt -append
My C# Code:
RunspaceConfiguration runConfig = RunspaceConfiguration.Create();
…

andreaspfr
- 2,298
- 5
- 42
- 51
6
votes
3 answers
MMC could not created the snap-in SQL Server configuration manager
When i tried to connect to sql server configuration manager in sql server 2008. It shows error MMC could not create the snap-in.
It was working perfectly till last night. What can be the reason, how can i solve it. But in background sql server is…

Hot Cool Stud
- 1,145
- 6
- 25
- 50
6
votes
2 answers
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…

pdiddy
- 6,217
- 10
- 50
- 111
4
votes
1 answer
Microsoft Management Console has stopped working
I'm trying to add snap into Microsoft Management Console in windows 10. But when I try to add certificate, an error message is coming with the header Microsoft Management Console has stopped working:
When I click the Debug button, Visual Studio…

Rashik Hasnat
- 318
- 4
- 14
3
votes
4 answers
PowerShell Snapin Cmdlet CommandNotFoundException
Currently I'm trying to create my first PowerShell Snapin. I followed this tutorial: How to create a PowerShell Snapin and everything works fine until I'm trying to invoke my custom cmdlet. In addition I added a "Post Build Event" to register the…

Kevin Goedecke
- 1,553
- 2
- 14
- 26
3
votes
1 answer
How to invoke Powershell version 2 on remote computer via Invoke-Command
I'm trying to remotely setup websites on web servers using powershell. The web servers I'm attempting to configure are Windows Server 2008 R2 SP1 which has powershell v2 on it by default.
To make things easier, I'm using the Snapin…

AvianFLU
- 530
- 5
- 9
3
votes
1 answer
How to debug snapin, property pages in mmc?
I am new to snapin and property pages.
I have a source code that is developed in Visual basic 6.0 of snapin(userControl) and property pages that are referenced in snapin. These will be run in mmc. Now how can i debug this snapin and property pages…

Santhanam
- 113
- 11
2
votes
3 answers
Can't Log Out of Windows Server 2008
I'm currently logged into my Windows Server 2008 R2 (x64) server, using Remote Desktop. As soon as I clicked on Start -> Log Out, this message popped up:
The message says:
"Waiting for all snap-ins to complete..."
There's a second dialog box in…

Jargs
- 675
- 3
- 10
- 22
2
votes
3 answers
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…

Gerald
- 23,011
- 10
- 73
- 102
2
votes
0 answers
Get information about the currently extended GPO
We are currently developing an MMC SnapIn Extension, that extends multiple group policy objects (GPOs), like you can see it in that image below:
Group Policy Management Editor - Extended
Thecnology is MMC 3.0, .NET 3.5, C#, VS2013. The extension is…

Hix
- 29
- 3
2
votes
0 answers
How MMC snap-ins expose remote capabilites
I have built a custom MMC snap-in, and I was wondering what the standard way is to extend my snap-in to have remote capabilities. For example, the default Windows Event Viewer snap-in allows you to connect to Another computer when you add it into…

Alexandru
- 12,264
- 17
- 113
- 208
2
votes
3 answers
Powershell snap-in for exchange 2007
Ive never used powershell before but it seems like the correct tool to use to read the number and size of mailboxes on our 2007 and 2010 exchange servers. I'm running Powershell on Windows 7 and NOT on the exchange server. The commands used in the…

ErickTreetops
- 3,189
- 4
- 27
- 37
2
votes
1 answer
What is the difference in the way I launch powershell console?
I work with Sharepoint and I need Sharepoint snap-in present in my console host. When I run powershell from my Windows start menu, I run command
Add-PSSnapin Microsoft.Sharepoint.Powershell
snap-in is added ok, and everything works well.
Also,…

jumbo
- 4,670
- 5
- 39
- 44