Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What do you use to develop for PowerShell?

I don't see a Visual Studio plugin for it (although I didn't look that hard, so I might have missed it), and searches turn up random third-party solutions, but is there something that comes with PowerShell or something that plugs into Visual Studio?

like image 771
Thomas Owens Avatar asked Oct 28 '08 22:10

Thomas Owens


People also ask

What are the different types of PowerShell commands used in development?

Windows PowerShell defines several types of commands that you can use in development. These commands include: functions, filters, scripts, aliases, and executables (applications). The main command type discussed in this guide is a simple, small command called a "cmdlet".

What is Windows PowerShell used for?

Windows PowerShell provides the following to make it easy for you to write commands: A powerful Windows PowerShell runtime (execution engine) with its own parser and a mechanism for automatically binding command parameters. Utilities for formatting and displaying command results using a command line interpreter (CLI).

What is the Windows PowerShell programmer's guide?

Windows PowerShell Programmer's Guide 1 About Windows PowerShell. Windows PowerShell defines several types of commands that you can use in development. ... 2 Programming for Windows PowerShell. ... 3 Programmer's Reference. ... 4 Getting Started Using Windows PowerShell. ... 5 Contents of This Guide. ... 6 See Also

What do you need to write PowerShell commands?

In traditional command development, you are required to write a parameter parser, a parameter binder, filters, and all other functionality exposed by each command. Windows PowerShell provides the following to make it easy for you to write commands:


2 Answers

Visual Studio templates are available here. And there are samples in the Server 2008 SDK for developing providers and hosts.

If you are talking about an IDE for scripting, see this question (How to Get Started with PowerShell)

like image 72
Steven Murawski Avatar answered Sep 28 '22 00:09

Steven Murawski


I mostly use PowerGui Script Editor. It allows me to use multi-file editing and debugging as well as straight command-line stuff.

like image 43
Mike Shepard Avatar answered Sep 28 '22 00:09

Mike Shepard