Visual Studio 2012 PowerShell项目

Visual Studio 2012 PowerShell项目

问题描述:

我们使用PowerShell在Windows Azure平台上调配/配置/修补虚拟机。是否有任何项目模板可用于管理Visual Studio 2012中的PowerShell项目,通过它我可以管理这些脚本?Visual Studio 2012 PowerShell项目

我希望能够创建

  • PowerShell的项目:在VS 2012和脚本文件添加到它
  • 具备基本的语法着色和高亮(最好有智能感知)。找到PowerShell Tools for Visual Studio
  • 使用源代码控制

我发现这个Visual Studio的扩展PowerGUI VSX但它仅适用于2010年VS

更新[2013年9月25日]管理脚本。它提供了上面提到的与VS 2012中的PowerShell项目一起使用的所有功能。

+3

不幸的是,PowerGUI VSX插件不支持最新版本的PowerGUI(3.5)。所以你要么必须降级已安装的PowerGUI版本,要么等待VSX更新(我没有任何消息)。 –

PowerShell没有得到太多的Visual Studio爱。 PowerShell ISE,PowerGUIPowerShell Plus怎么样?

这三者中,最后一个是唯一一个与任何源代码控制集成。

+1

感谢您的回复。很不幸,即使在VS 2012中也没有PowerShell集成。我正在考虑将VS 2010与PowerGUI VSX一起使用 – Gaurav

+0

您可以在Visual Studio 2012中使用PowerGUI:http://sanderstechnology.com/2013/powershell-and-visual-studio-2012/11937/ – RobS

Microsoft画廊中还有另一个用于Visual Studio 2012中PowerShell集成的组件; PowerShell Tools for Visual Studio 2012