Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Cannot see custom cmdlet after installutil run

35 views
Skip to first unread message

Dr Dave

unread,
May 26, 2012, 9:57:32 PM5/26/12
to
Greetings,

I have spent hours researching this, so I am turning to the groups to
see if anyone can answer this issue.

I am working on a fairly complex cmdlet written in C# and am trying to
get it installed and registered. My C# code is not the issue (at least
I think it isn't). I am able to get the installutil to install, and
according to the log it does successfuly install.

The issue is when I run the Get-PSSnapin -Register I do not see the
snapin I just created.

I have tried allot of things to see if I am missing something, but get
the same issue when I create a simple "Hello World" snapin.

So to reiterate, when I run the get-pssnapin -register I do not see my
snapin (only the base snapins)

Anybody have ideas what I might be missing.

Thank you

Mihail Stacanov

unread,
Jun 1, 2012, 8:22:09 AM6/1/12
to
Hi,

I believe that there need some registry modifications for ablity to see snappin as registered.
Google it.
0 new messages