none
Using PowerShell with VS15?

    Question

  • Hello,

    I've heard lots of great things recently about VS15 so I figured I would give it a shot.

    Before I start learning the new things that VS brings, I want to make sure I can at least still perform tasks like I can in the PowerShell ISE. 

    I've downloaded the PowerShell tool for VS and installed it, but I cannot, for the life of me, figure out how to do the ISE equivalent of pressing F5 (load the script) and Use-MyFunction in some sort of console window. I've googled around for a little while and everything points me to the tool for VS (above) or downloading a NuGet console, none of which have worked.

    Any ideas where I've gone wrong?

    Saturday, May 07, 2016 3:59 PM

Answers

  • Hi Betty_Anne,

    Have you installed the PowerShell Tools for Visual Studio 2015?

    As far as I know, if your want to develop wiht PowerShell, you need to install the PowerShell Tools for Visual Studio.

    https://visualstudiogallery.msdn.microsoft.com/c9eb3ba8-0c59-4944-9a62-6eee37294597

    This is a good example of using PowerShell in VS2015 for your reference:

    https://www.youtube.com/watch?v=eRILgGQb_hQ

    If I midunderstood your problem, please feel free to let me know.

    Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.

    Microsoft does not control these sites and has not tested any software or information found on these sites;

    Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.

    There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Best Regards,

    Lake Xiao

    Tuesday, May 10, 2016 2:03 AM
    Moderator