Questions tagged [snap-in]

38 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
  • 13,271
  • 31
  • 133
  • 232
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
  • 14,677
  • 28
  • 85
  • 117
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,176
  • 5
  • 38
  • 49
5
votes
2 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,065
  • 5
  • 20
  • 46
5
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
  • 5,917
  • 9
  • 44
  • 102
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
  • 287
  • 4
  • 14
3
votes
2 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
  • 940
  • 9
  • 24
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
  • 520
  • 5
  • 9
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…
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
  • 22,093
  • 10
  • 67
  • 98
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
  • 10,808
  • 12
  • 98
  • 183
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
  • 2,591
  • 4
  • 21
  • 30
2
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
  • 93
  • 10
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,274
  • 5
  • 37
  • 44
1
2 3