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.

    38 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 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.

      29 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 →
      • 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 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 →
          • 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.

            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

              survey  ·  3 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…

              146 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…

                67 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 →
                • 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…

                  50 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  ·  2 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),…

                    27 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 →
                      • Parameter name expansion

                        Allow abbreviated parameter names (automatically based on first letter for each word in the parameter's name) that expand when tab is pressed. For example,

                        Get-NetIpAddress -IA -> would expand to Get-NetIpAddress -InterfaceAlias
                        Get-NetIpAddress -II -> would expand to Get-NetIpAddress -InterfaceIndex

                        This would help speed up parameter entry when one or more parameters start with the same word(s)

                        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 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…

                          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.

                            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 line-wrapping in the ISE console pane

                              It would be great if lines would automatically wrap in the console pane of the Integrated Scripting Environment (ISE), just like they do in the Powershell console.

                              Currently, if the PowerShell ISE console pane is not wide enough, one has to scroll horizontally to see the beginning of the currently edited line.

                              One workaround is to use the backtick (`) character to split the command in multiple lines but this is not very practical.

                              Here are some examples of other people wanting to do this:
                              [2015] https://superuser.com/questions/871178/line-wrapping-in-powershell-ise-console
                              [2015] https://stackoverflow.com/questions/30710740/powershell-ise-console-window-command-line-word-wrap

                              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 →
                              • PowerShell ISE 5.1 is crashing during initialization

                                PowerShell ISE 5.1 is crashing during initialization, i.e., when the SPLASH-SCREEN is still visible.

                                Please, see my other bug report: PowerShell ISE crashes after latest Windows Update

                                Other relevant informations, are:

                                1- System is Windows 7 Starter SP1

                                2- $PSVersionTable

                                Name Value
                                ---- -----
                                PSVersion 5.1.14409.1012
                                PSEdition Desktop
                                PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
                                BuildVersion 10.0.14409.1012
                                CLRVersion 4.0.30319.42000
                                WSManStackVersion 3.0
                                PSRemotingProtocolVersion 2.3
                                SerializationVersion 1.1.0.1

                                3- The only 2 events logged into APPLICATION event-log are:

                                EventID : 1001
                                MachineName : FREELANCERCOMPUTER
                                Data : {}
                                Index : 85373
                                Category : (0)
                                CategoryNumber : 0
                                EntryType : Information
                                Message : Fault bucket , type…

                                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

                                  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                • Bug: PowerShell ISE 'The handle is invalid'

                                  Bug: PowerShell ISE 'The handle is invalid'

                                  Custom C# binary module works without issue via Powershell.exe, but when attempting to run the exposed cmdlets via Powershell_ise.exe you immediately get an error 'The handle is invalid' and the execution fails.

                                  When attaching Visual Studio to the ISE process to attempt debugging, it informs you that the failure occurs outside of the code base (not part of the managed code).

                                  Have this issue on Windows 10 / Server 2016 with Powershell 5.0 and 5.1.

                                  Mirrored the Powershell.exe.config to Powershell_ise.exe.config to rule out a configuration issue, and that yields no deltas.

                                  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 →
                                  • 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.

                                    4 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 →

                                      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

                                    • PowerShell ISE crashes after latest Windows Update

                                      PowerShell ISE crashes after installation of the latest Security and Quality Rollup:

                                      2018-01 Security and Quality Rollup for .NET Framework 3.5.1, 4.5.2, ... on Windows 7 (KB4055532)

                                      After trying to instantiate the PowerShell ISE, the OS informs the following:

                                      powershell_ise has stopped working.
                                      A problem caused the program to stop working correctly.
                                      Windows will close the program and notify you if a solution is available.

                                      This is happening since January, 9, 2018.

                                      PowerShell on Console is still working properly.

                                      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 →
                                      • Keep/Do not reset PowerShell settings on Windows upgrade

                                        Keep fonts, colors, sizes etc on Windows upgrade.

                                        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 →
                                        • Add spelling correction to ISE when writing strings

                                          Can you make ISE use some spelling correction when editing a string? Better, use MS Word's engine which can detect grammatical mistakes!

                                          This will save a lot of embarrassment!

                                          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 →
                                          ← Previous 1 3 4 5 6 7 8
                                          • Don't see your idea?

                                          Feedback and Knowledge Base