Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 727133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:31:59+00:00 2026-05-14T06:31:59+00:00

I am using Visual Studio 2010 Ultimate Beta 2. What is the relevant namespace/classes

  • 0

I am using Visual Studio 2010 Ultimate Beta 2. What is the relevant namespace/classes for creating a PowerShell cmdlet in C#?

I assume there is an interface or abstract class to derive from.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T06:31:59+00:00Added an answer on May 14, 2026 at 6:31 am

    You’ll need to derive from System.Management.Automation.Cmdlet.

    It lives in system.management.automation.dll. If you’re on Windows Vista or newer, the file’s in your GAC, which can be referenced but it’s tricky. It’s probably easiest to install the PowerShell SDK, and then you can reference the assembly directly from “Add Reference…” in Visual Studio. (Full path is C:\Program Files\Reference Assemblies\Microsoft\WindowsPowerShell\v1.0.)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using Visual Studio 2008 Team Edition, is it possible to assign a shortcut key
Using Visual Studio 2008 / C# / VS Unit Testing. I have a very
When using Visual Studio (though ideally this can apply to the generic case) and
I'm looking into using Visual Studio 2008's built in unit test projects instead of
I'm using Visual Studio Team System 2008 at work to do web development. I've
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I'm using visual studio 2008 and ReSharper 4 and it's kind of slow. My
I am using Visual Studio, developing a native application, I have a programmatical breakpoint
I've started using Visual Studio 2008 and it keeps asking me to upgrade my
I'm using Visual Studio 2008 and the built-in installation tools for a C# client

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.