Solved

Can I use Visual Studio 2008 as an IDE for Powershell scripts?

Posted on 2009-05-16
5
750 Views
Last Modified: 2013-11-26
I'm somewhat new to both Visual Studio and Powershell. Can I use Visual Studio 2008 Standard as an IDE to help me write Powershell scripts? Is there a way to have VS help with type-ahead, syntax checking, etc?
0
Comment
Question by:jessc7
  • 2
  • 2
5 Comments
 
LVL 3

Expert Comment

by:ddanonimity
ID: 24403211
0
 
LVL 16

Author Comment

by:jessc7
ID: 24403228
ddanonimity, that looks like it is for someone who has figured out how to write Powershell scripts inside of Visual Studio. I'm not there yet.

When I try a new Project for File inside of Visual Studio 2008 Standard, I don't see an option for Powershell. Is there an addin or something I need to install? I realize I could just make a text file and name it appropriately, but I want the Visual Studio IDE to aid me as I'm writing Powershell scripts.
0
 
LVL 3

Accepted Solution

by:
ddanonimity earned 175 total points
ID: 24403249
0
 
LVL 16

Author Comment

by:jessc7
ID: 24418244
0
 
LVL 4

Assisted Solution

by:peter_field
peter_field earned 75 total points
ID: 24419763
If your looking for an IDE that will aid you, try using PowerShell 2 CTP 3. Tab completion works for commands and parameters. Sure, you don't get descriptions of what they are as you're tab completeing, but I find it pretty good.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Learn the basics of modules and packages in Python. Every Python file is a module, ending in the suffix: .py: Modules are a collection of functions and variables.: Packages are a collection of modules.: Module functions and variables are accessed us…
The viewer will learn how to count occurrences of each item in an array.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now