PowerGUI VSX

Free

PowerGUI integrated into Visual Studio.

(11) Review
Visual Studio
2010
Download (47,939)
1/12/2014
1.5.6
E-mail Twitter del.icio.us Digg Facebook
Add to favorites
Description
Reviews (11)
Q and A (19)
Sign in to write a review
Sort by:

by Salvo Di Fazio | May 14 2013

by rheid1globusfamilycom | March 28 2013

I love POWER GUI But this plug in will not work because I have 3.5 installed and the newest version of the plug only works with 3.2 and there is know where to down load the old version of the Power GUI

by Richard_McIntyre | June 15 2012

Excellent, just need a VS12 version !

by Dzmuh | December 14 2011

by john.pea | December 08 2011

Shift+f5 is not working for me.

by fkm | October 09 2011

Does not works on x64.
Any 64 bits Snapin ( as Microsoft.SharePoint.PowerShell) can be loaded in Powergui Script Editor (V3.0.0.2015 64bits) but cannot load in VS 2010 PowerGuiVSX (1.4.1)...

Adam Driscoll October 10 2011
| Edit |
Delete

Visual Studio is x86 and this is why it will not work with x64 snap-ins. This is a limitation imposed by VS and not PowerGUI. Sorry about that...

by Rich Prescott | September 01 2011

by Mike Chaliy | July 19 2011

Great idea, however it does not work:

---------------------------
Microsoft Visual Studio
---------------------------
The 'PowerGUIVsx.PowerGuiVsxPackage, PowerGUIVsx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7e1ba102ebba51e' package did not load correctly.



The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\m\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.



Continue to show this error message?
---------------------------
Yes No
---------------------------


Log file C:\Users\m\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml does not exists.

Adam Driscoll August 01 2011
| Edit |
Delete

Hey Mike,

Do you have PowerGUI 3.0 installed? You'll need to install PowerGUI 2.4 if you do. We are working on 3.0 support right now.

You can download PowerGUI 2.4 here: http://www.powergui.org/entry.jspa?externalID=2192&categoryID=299

by Matthew Manela | May 27 2011

by Genady | August 12 2010

Outstanding. Code-folding on #region tags is pure WIN, and you can use the built-in VS TFS integration. My only issue is I can't get linenumbers to show up.

by Dmitry Sotnikov | July 06 2010

Great to have PowerGUI Script Editor functionality right inside Visual Studio. Very handy for dev projects which includes PowerShell scripts.

Dmitry

Sign in to start a discussion


  • PowerGUI 3.5 and VS 2012
    1 Posts | Last post January 25, 2013
    • I had been running the 1.6.1 version of the PowerGUI VSX in VS 2012 until earlier this week when PowerGUI auto-updated to version 3.5, now the VSIX won't run saying that I don't have a compatible version of PowerGUI installed. 
      Are you going to do a new drop that supports PowerGUI 3.5 on VS 2012?
  • How do I run a .ps1 file within Visual Studio 2010?
    1 Posts | Last post January 23, 2013
    • I have three PowerShell scripts in a Visual Studio 2010 project, but I don't know how to run them interactively (the work fine within the post-build process).  
      
      How do I run a .ps1 script interactively?
  • Debugging C# classes
    2 Posts | Last post December 12, 2012
    • We use Powershell with some C# classes we've created.  I'd like to debug a PS script that uses these classes and get a breakpoint inside the C# class.
      
      So, I add the types from my DLL via:
      Add-type -Path <path to debug assembly>
      
      then set a breakpoint in PS script at:
      new-object <myclassname>($var)
      
      Hoping to break into the constructor for <myclassname> c# code.
      It doesn't get there.  What am I missing?
    • Hi grokq,
      
      The problem with doing it your way is that the C# debugger is not attached to Visual Studio. Also, if you were to load your type into PowerGUI VSX like that you may experience problems rebuilding because the assembly will be loaded into the process. My recommendation is to follow this post and use some local PowerShell remoting to host the assembly in a WinRM session.
      
      http://csharpening.net/?p=279
      
      I know it's not as easy as F5 but I'm working on that. ;) 
      
      http://csharpening.net/?p=1363
      
      Adam
  • View code gives plain text, while open (double-click) goes into Intellisense active
    1 Posts | Last post November 14, 2012
    • This looks like the ideal environment for me who am working in the interface between C# and PS. Very impressed. Got a bit confused in the beginning as Intellisense did not seem to work - it appears that if I open the PS file in the PS project with "view code", it shows with no Intellisense, but if I open the file by double-clicking it appears in all its glory...just thought I'd mention that in this Q and A because I was searching unsuccessfully here for a while for "no colors" "intellisense not working" and similar.
  • Support fro Visual Studio 11
    3 Posts | Last post April 11, 2012
    • Will PowerGUI VSX support Visual Studio 2011 beta any time soon? It's such a useful thing and I'm missing it in VS11.
    • Hey Borek,
      
      I hope to be taking a look at this in the near future. No time frame slated yet. Stay tuned! 
    • Hey Borek,
      
      Funny story. I tried to upgrade PowerGUI VSX to VS2011 and it worked really well. More information here: http://csharpening.net/?p=1097
  • debugging with command line arguments
    2 Posts | Last post April 10, 2012
    • I need a way to debug a script that is intended to be used with command line args. 
      For C# projects (and probably most project types) the properties for the project has a place where you can set any command line args that are needed. With this tool there is no way to set them so I have to mess with the actual script and dummy up where the args are read. Not really optimal. 
      
      is this a feature you have considered or did I just miss it?
    • Hey sedotax,
      
      I hadn't thought to do that but that's a great idea. Could you please post that as an issue\feature request on the CodePlex site so that I don't lose track?
      
      Thanks,
      
      Adam
  • Where does output go?
    5 Posts | Last post October 10, 2011
    • Hi,
        Thanks for doing this work! When I use write-host or write-output in a script I'm testing where does the output go? I looked in the various "output" window sub-panes but didn't see anything there.
      
        Cheers,
          Gordon.
    • Ha! It is the PowerGui console window. It might be a nice feature if this popped up automatically when the run occured - at least the first time so newbie's like me could sort through what is going on.
    • That's a good suggestion. Let me add it to the Issue Tracker. 
    • I've added this here: http://powerguivsx.codeplex.com/workitem/31519
      
      Feel free to up vote it. 
    • A change has been checked in that fixes this. 
  • VS2010 crashes and PowerGUI errors
    2 Posts | Last post September 27, 2011
    • After installing this latest release (1.4.1) along with the latest release of PowerGUI, I can open PS script files.  However, as soon as I begin to edit them, I get the the "Visual Studio has encountered a problem and needs to close" error.  VisualStudio then restarts.  There aren't any errors in the EventViewer regarding this problem.
      
       I had to disable it in VisualStudio.  However, once I open PowerGUI (v 3.0.0.2015), I get the following error in the PowerShell console:
      
      Import-Module : Could not load file or assembly 'file:///C:\Users\foo\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Adam Driscoll\PowerGUI VSX\1.4.1\PowerGUIVSX.Module.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
      
      At line:1 char:213 
      
      + @('C:\Users\foo\AppData\Local\Microsoft\VisualStudio\10.0\Extensions\Adam Driscoll\PowerGUI VSX\1.4.1\PowerGUIVSX.Module.dll') | Where-Object { @(Get-Module | %{$_.Path} ) -notcontains $_ } | %{ Import-Module <<<< $_ }+ CategoryInfo : NotSpecified: (:) [Import-Module], BadImageFormatException+ FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.ImportModuleCommand
      
      I'm running VS2010 Ultimate SP1 on Win7 x64.
      
      It looks as though the PowerGUIVSX.Module.dll was built against .NET 4.0 yet the PowerGUI script editor (both x86 and x64) were built against .NET 2.0.
      
    • Could you grab a log of when the Visual Studio crashes? http://powerguivsx.codeplex.com/documentation
      
      The issue with an error in PowerGUI console has been fixed in the beta. http://powerguivsx.codeplex.com/releases/view/73564
      
      
  • visual studio 2010 restarting problem
    2 Posts | Last post September 27, 2011
    • hi,I have a problem facing in my visual studio 2010.When i edit script,visual studio automatically restarting and some time going to hang mode.It only occur in my system ,in other systems working perfectly. So i formated my system completely and install visual studio ones more.But the problem is showing again.if have any solution please tell,its very urgent
    • Oy that is quite an issue. Can you enable logging while reproducing the issue? 
  • error
    2 Posts | Last post August 01, 2011
    • ---------------------------
      Microsoft Visual Studio
      ---------------------------
      The 'PowerGUIVsx.PowerGuiVsxPackage, PowerGUIVsx, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b7e1ba102ebba51e' package did not load correctly.
      
      
      
      The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\m\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.
      
      
      
      Continue to show this error message?
      ---------------------------
      Yes No
      ---------------------------
      what should i do?
    • What version of PowerGUI do you have installed? This extension requires PowerGUI 2.4. You can download that here: http://www.powergui.org/entry.jspa?externalID=2192&categoryID=299
1 - 10 of 19 Items