PowerShell

The PowerShell forum accepts bug reports as well as feedback and suggestions. For more information, check out the PowerShell Homepage

The following is a list of the states we use to track items.

status meaning
survey We saw this and we are considering it. Please upvote if it’s important to you.
needs more information We don’t understand the issue and need additional details.
investigating We are looking at this internally to understand things like: scenario, reproduction of issue, costing, or other technical details.
in queue The issue is understood and in our unprioritized backlog. Your votes will be used to drive prioritization of this work.

Please feel free to provide feedback or file bugs here.

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. ISE should not switch focus automatically to the console pane

    Starting from Windows 10 1803, when you run a selected block of code using F8, ISE switches focus to the console pane. This means that when you run several of these, you have to manually switch the focus back to the script pane after each execution.

    This is much more difficult than before, so please fix this.

    45 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      9 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
    • Powershell ISE win10 1803 Cursor swaping panes on run

      Since windows 10 1803 when running a script from the script pane, the cursor switches from the script pane to the console pane.

      To reproduce: Open powershell ise on windows 10 1803. Enter in a basic script (ex: Write-Host "test") and hit F5. The cursor will move to the console pane so if you start typing the output will be in the console pane.

      The expected behavior would be to leave the cursor in the script pane so that you can continue to edit the script. This was the behavior previous to windows 10 1803.

      31 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        6 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
      • Saving file in the remote session has failed with error: Exception has been thrown by the target of an invocation..

        Since a few weeks, when I edit a file in a PSSession in ISE I get this error message when I save the modifications:

        Saving file: C:\path\file.ps1 in the remote session has failed with error: Exception has been thrown by the target of an invocation..

        Not sure there is a link, but this problem appeared around the moment when this post has been published.

        https://devblogs.microsoft.com/powershell/windows-security-change-affecting-powershell/

        1 vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
        • New PowerShell Tab should place cursor into console pane input line (Regression)

          After opening "New PowerShell Tab" either using Ctrl+T shortcut or by clicking menu item, tab title gets keyboard focus. Instead, cursor should be placed into input line of console pane.
          This was the way previous versions of ISE worked (before Windows 10).

          See video demo: https://www.youtube.com/watch?v=0fzk1VEQpo0

          (Opening new tab using Ctrl+T, look closely at tab title with dashed line border).

          Windows 10 version 10.0.17763.134
          PowerShell ISE version 5.1.17763.134

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
          • Powershell ISE ability to mark line(s) for review

            Hi All,

            I've searched for this, but I don't believe it's currently possible:

            I'd like the ability to mark a line or lines of code for review later on and an ability to filter my script to show only marked lines and an ability to quick jump to marked lines.

            To give a scenario: We have a number of PS scripts in the 1000+ line region for configuration of various Applications. As we move from one version of said application to another, we review the PS script - modifying it to meet current business requirements or changing work-around scripts to…

            2 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
            • PowerShell ISE CurrentPowerShellTab AddFile focus not on the editor pane

              When running ISE commands like $psISE.CurrentPowerShellTab.Files.Add(...) to open a new script file in ISE the focus should be in the editor pane.
              However, with the Windows update of Windows 10 Pro (1803) 10.0.17134 when a file is opened using $psISE.CurrentPowerShellTab.Files.Add(…) the focus is not on the editor window of the file but the ISE editor tab. Why has this changed?

              This is extremely annoying since we now have to refocus the cursor on to the editor windows before typing or selecting a command to run.

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
              • Support for powershell files with "," in the file name

                It seems like this is the only place to report bugs, is that correct?

                Powershell ISE is not able to open files with "," in their name, if you rightclick, and choose Edit. It seems like the ISE thinks, that it should open multiply files (separated by a comma).
                I can drag'n'drop files, with comma in their names, into the ISE, and that works as expected.

                Steps to reproduce:
                1. Create a .ps1 file with a comma in the name (example: test1,test2.ps1)
                2. Right click on file, and press edit
                3. Note "Unable to load"-error.

                2 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                • Windows PowerShell ISE freezes in windows 10

                  Windows powershell ISE freezes very often after running even simple command. This has been happening since we moved to Windows 10.

                  5 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    4 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →

                    Hey there,

                    We haven’t heard anything about this from anyone else, so I’m guessing there might be something messed up with your machine configuration. Would you mind posting the output of $PSVersionTable. Also, is this happening on all Win10 machines across your deployment? Do you have similar issues when using powershell.exe isnstead of PowerShell ISE, or is it limited to the ISE?

                    Thanks,
                    Joey

                  • Collapsed region in dark mode is hardly visible

                    When using the dark theme in ISE, a collapsed region is hardly visible because the font color is black and the background darkblue. There is no way the set the colors for a collapse region in the theme editor.

                    23 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      survey  ·  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                    • Keep/Do not reset PowerShell settings on Windows upgrade

                      Keep fonts, colors, sizes etc on Windows upgrade.

                      2 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                      • Roaming PowerShell profile using OneDrive

                        Most IT pros use multiple computers but can't have a consistent PowerShell experience across computers due to different versions of PS Profile. Keeping a single version of the profile updated and synchronized across computers adds management overhead.

                        Solution:
                        - Make the profile roaming using OneDrive. The following post shows how to synchronize the profile using OneDrive, but having this option out of the box would help.

                        Nice to have:
                        - Allow the user to choose default location for the PowerShell profile

                        Synchronize your PowerShell Profile with OneDrive
                        http://wp.me/p2C5zw-19K

                        3 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                        • PowerShell ISE does not detect changes to a file open in PowerShell ISE when that file is modified outside of PowerShell ISE.

                          Votes from Connect: 3

                          Original Date Submitted: 10/27/2015 6:11:19 PM

                          Description:
                          ********Contact Information********
                          Handle: jwirl
                          Site Name: PowerShell
                          Feedback ID: 1950051
                          ***************************************

                          Frequency: PowerShell ISE
                          Regression: 1. Open a script file in PowerShell ISE.
                          2. Open up the same script file in another editor i.e. notepad++ or Microsoft Visual Studio
                          3. Make a change to the script file in the other editor and save it.
                          4. Return to PowerShell ISE, it does not warn you that the script file has been changed else where and it does not re-load the script file into the ISE window.
                          5. Make a change…

                          147 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            7 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                          • PowerShell ISE Crashes after loading Winforms

                            When Winforms are used in PowerShell code, the ISE will eventually freeze/crash when idle (after form closed). This can happen as fast as 5 minutes but may take longer, time seems to be random. No issues occur when using Winforms via regular PowerShell console and using other IDEs (such as PowerGUI).

                            Example code to reproduce:
                            $Form = New-Object System.Windows.Forms.Form
                            $Form.DataBindings.DefaultDataSourceUpdateMode = 0
                            $Form.Text = "My Form"
                            $Form.AutoSize = $true
                            $Form.AutoSizeMode = "GrowAndShrink"
                            $Form.StartPosition = "CenterScreen"
                            $Form.MaximizeBox = $false
                            $Form.FormBorderStyle = "FixedSingle"

                            $Return = $Form.ShowDialog()

                            Note: It does appear the more form objects added, the more likely to crash, but can…

                            71 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              17 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                            • Add to ISE "Export script as an exe" & also add a XAML editor to design GUI front ends for the exported scripts.

                              Add to the ISE a "Export/Compile script as an exe" feature & also add a XAML editor to design GUI front ends for the exported scripts.

                              It is free in VS2015 Community so why not incorporate it in the ISE?

                              33 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                              • Windows PowerShell ISE: Add ability to rearrange tabs

                                Votes from Connect: 17

                                Original Date Submitted: 6/21/2013 12:41:41 AM

                                Description:
                                ********Contact Information********
                                Handle: deadlydog
                                Site Name: PowerShell
                                Feedback ID: 790585
                                ***************************************

                                Frequency: Always Happens
                                Regression: Yes, this happens in all previous versions

                                Problem Description:
                                It would be nice in PS ISE if when you have multiple files open, that you could drag the tabs at the top of the Script Pane window (i.e. the file names) to rearrange them. Right now if you want to rearrange the order of the tabs, you have to actually close the tabs and re-open them in the order that you want them.

                                This…

                                52 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  In Queue  ·  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                • $url = 'http://www.bloomberg.com/professional/downloads/'

                                  I believe I have a bug with Invoke-Webrequest.

                                  $url = 'http://www.bloomberg.com/professional/downloads/';

                                  Invoke-WebRequest -UseBasicParsing -Uri $url "

                                  Or

                                  Invoke-WebRequest $url "

                                  Using invoke-webREquest on that URL Hangs /restarts ISE for me.

                                  I am using powershell 4.0 on windows 7 Sp1 64 bit.

                                  Name : Windows PowerShell ISE Host
                                  Version : 4.0

                                  10 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Windows PowerShell ISE: Add ability to save/load session state

                                    Votes from Connect: 33

                                    Original Date Submitted: 6/20/2013 11:48:19 PM

                                    Description:
                                    ********Contact Information********
                                    Handle: deadlydog
                                    Site Name: PowerShell
                                    Feedback ID: 790578
                                    ***************************************

                                    Frequency: Always Happens
                                    Regression: Yes, this happens in all previous versions

                                    Problem Description:
                                    It would be great if PS ISE had the ability to allow you to save and restore all of your open tabs and files. Ideally, there would be an option to automatically save the session when ISE is closed, and automatically load it when ISE is started.

                                    The PowerShell Team has blogged about how to save/load your session by writing an add-on (http://blogs.msdn.com/b/powershell/archive/2010/06/05/export-and-import-powershell-ise-opened-files.aspx),…

                                    28 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      2 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Windows PowerShell ISE: Double click should select entire cmdlet/variable name

                                      Votes from Connect: 20

                                      Original Date Submitted: 6/21/2013 11:14:16 PM

                                      Description:
                                      ********Contact Information********
                                      Handle: deadlydog
                                      Site Name: PowerShell
                                      Feedback ID: 790661
                                      ***************************************

                                      Frequency: Always Happens
                                      Regression: Yes, this happens in all previous versions

                                      Problem Description:
                                      When you double click on a cmdlet or variable name in the PS IDE v3 it doesn't select the entire cmdlet/variable name. Unlike other text editors, PS IDE is meant for working with PowerShell code, so it should make some assumptions to make it more PowerShell friendly.

                                      Example 1: Get-Help
                                      - if you double click on Help, only "Help" is selected, but is should select…

                                      24 votes
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Windows PowerShell ISE: Caret and View do not jump to text being undone/redone

                                        Votes from Connect: 18

                                        Original Date Submitted: 6/21/2013 12:49:43 AM

                                        Description:
                                        ********Contact Information********
                                        Handle: deadlydog
                                        Site Name: PowerShell
                                        Feedback ID: 790586
                                        ***************************************

                                        Frequency: Always Happens
                                        Regression: I do not know if this issue existed previously

                                        Problem Description:
                                        In the PS ISE v3 Script Pane, if you use the undo or redo commands (Ctrl+Z and Ctrl+Y respectively), the caret does not jump to the text being undone/redone, and the view does not scroll to the text being undone/redone either. So if the text being changed is outside of the visible area, you don't know what changes are being undone/redone. This is…

                                        18 votes
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          2 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Escape Char with Powershell ISE

                                          I am attempting to use the `b or `r sequence as per https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-6
                                          if I use the example in that page and issue the command write-host “backup`b`b out” in Powershell (non ISE) you get “back out” as the output as per the example however if you do this in ISE you get “backup out” instead.
                                          It would appear that ISE cannot handle these two special characters. From what I can tell all the others such as `t and `n work fine.
                                          This is verified by DoctorDNS in the following issue post
                                          PowerShell/PowerShell-Docs#3151
                                          Thanks
                                          Robert

                                          2 votes
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 6 7 8
                                          • Don't see your idea?

                                          Feedback and Knowledge Base