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?
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".
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).
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
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:
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)
I mostly use PowerGui Script Editor. It allows me to use multi-file editing and debugging as well as straight command-line stuff.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With