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. 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 →
    • about_using help topic doesn't exist

      On docs.microsoft.com there is a help topic for about_using which describes the using keyword that is new in Windows PowerShell 5.0 (https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_using?view=powershell-5.0).

      Running:
      Get-Help about_using
      returns the help topic about_Remote_Variables which describes the $Using prefix used to access local variables from a remote session because that help topic has the keyword "about_Using".

      The about_using help topic should be added to the help topics for Windows PowerShell 5.1.

      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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
      • Get-NetQosFlowControl -InterfaceAlias

        Hi,

        I`m trying to implement "Get-NetQosFlowControl -InterfaceAlias <name>" cmdlet using WMI. I want to query adapter specific NetQosFlowControl configuration.

        I don't see any available API in WMI to do this.

        How could I get adapter specific NetQosFlowControl configuration using only WMI?

        Thanks,
        Alexander

        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  ·  WMI  ·  Flag idea as inappropriate…  ·  Admin →
        • A replacement for New-WebServiceProxy for SOAP calls

          Add the ability to make SOAP calls which originally was done using New-WebServiceProxy.

          SOAP services are still common in both small companies and large enterprise where some products only have this method of integration. Many legacy systems both purchased and built in house use SOAP and will continue to for a significant time as the cost of upgrading is either too great, does not make commercial sense or simply impossible.

          I have only just started to look at PowerShell 6 and this is a complete road block for using it at this time. If there are alternative options without having…

          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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
          • Invoke-RestMethod does not preserve headings when following a redirect

            When the Invoke-Restmethod cmdlet makes a request and receives a 302 to follow, the subsequent request does not send the headers with the subsequent request.

            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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
            • Fix Add-DnsServerResourceRecord TXT Records Limit

              When attempting to add a TXT DNS record via the "Add-DnsServerResourceRecord" command, the DescriptiveText property only accepts strings up to 254 characters but should support up to 255 characters. Ideally the command should accept an array for the DescriptiveText so that multiple lines of up to 255 characters can be passed through. Currently it requires using `r`n to insert a line break but over all must still be under 254 characters. This is an issue as we are trying to implement automation around TXT records and DKIM records tend to be well over this 254 character limit and require multiple…

              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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
              • Errors that terminate script due to -ErrorAction Stop do not show correct line number

                PS > type .\error.ps1
                [Cmdletbinding()]
                param()

                "hello"
                "world"

                1/0

                PS > .\error.ps1
                hello
                world
                Attempted to divide by zero.
                At D:\junk\error.ps1:10 char:5
                + 1/0
                + ~~~
                + CategoryInfo : NotSpecified: (:) [], RuntimeException
                + FullyQualifiedErrorId : RuntimeException

                PS > $ErrorActionPreference = "Stop"
                PS > .\error.ps1
                hello
                world
                D:\junk\error.ps1 : Attempted to divide by zero.
                At line:1 char:1
                + .\error.ps1
                + ~~~~~~~~~~~
                + CategoryInfo : NotSpecified: (:) [error.ps1], RuntimeException
                + FullyQualifiedErrorId : RuntimeException,error.ps1

                Note incorrect line number being reported on second invocation when ErrorActionPreference equals "Stop"

                This can also be reproduced by putting "$ErrorActionPreference = "Stop" at line 3 of the…

                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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                • 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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                  • Add-AppxPackage (Chef, WinRM) - Errors - Message: Contact Microsoft Customer Support Services

                    Sorry if this is the wrong place, I created an issue https://github.com/chef/chef/issues/7765 but I am not sure its an issue with Chef.
                    I have also created an issue https://github.com/PowerShell/PowerShell/issues/8148 .
                    I am not very familiar with Powershell sorry, so I am unable to replicate without Chef (If I knew how it would be handy to try and replicate with pure WinRM).

                    Steps to reproduce
                    ------------------
                    In Chef
                    ```powershell
                    cd C:/Test
                    Add-AppxPackage Example_1.0.0.0_x64.appx -DependencyPath "Dependencies\\x64\\A.appx","Dependencies\\x64\\B.appx","Dependencies\\x64\\C.appx"
                    ```
                    This is trying to install an appx for a standard user. I believe Chef uses WinRM to run the commands.

                    Expected behavior
                    -----------------
                    ```
                    App…

                    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                    • DNSResourceRecords in DNSServer

                      The Name parameter is not consistent with this set of cmdlets. Sometimes Name refers to a hostname, or sometimes it is in reference of a child domain zone name, which is my case. I would like it if the Name was always used for child domain, and use the host to refer to the hostname, as to not get them confused between get, set, remove, etc.Set-DNSResourceRecord should not rely entirely on input and output objects either.

                      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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                      • Simplify Changing Title of PowerShell Window

                        Enable setting the title of the powershell window with this simple command

                        title "someWindowTitle"

                        The DOS cmd.exe has such a simple command and the current equivalent powershell is this cumbersome command-line

                        $host.UI.RawUI.WindowTitle = "someWindowTitle"

                        For Windows developers that use multiple command windows all day, such a command a simple improvement would really help in the adoption of PowerShell.

                        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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                        • geef mijn NAS terug

                          Waarom haalt u een functie uit mijn OS, zonder mij een keuze te laten of is dat wel wil. Ik kan nu mijn NAS niet meer gebruiken, zonder dat ik een verschrikkelijk moeilijk verhaal moet lezen en dat ik mijn leverancier (die al niet meer bestaat) moet benaderen om iets te veranderen. Ik kan geen contact meer maken met mijn backup systeem om files op te halen, zonder dat ik nu een verschrikkelijk dure specialist ga inguren. Dank u wel microsoft. \geen wonder dat iedeeen over wil naar linux of OSx.

                          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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                          • miracle transition of stocks and products

                            The existing of miracles object as the user request for.

                            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  ·  Other PowerShell  ·  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 →
                              • 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 →
                                • 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

                                    1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                                  • [BUG] dismount-vhd

                                    > dismount-vhd -disknumber X

                                    This command is only observed to work on my machine if the path to the vhd does not have a space in it.

                                    For example:
                                    > mount-vhd -path C:\User\No\Spaces\In\Path\win10.vhd
                                    > # do stuff, check diskpart which shows mount index is 1
                                    > dismount-vhd -disknumber 1
                                    > # Success!
                                    > mount-vhd -path "C:\Bad User\Who Likes\Spaces\Win 10.vhd"
                                    > # do stuff, check diskpart which shows mount index is 1
                                    > dismount-vhd -disknumber 1
                                    > # AG! NO!! Fails...
                                    > "Windows cannot find a mounted virtual hard disk with the specified disk number"
                                    > # Also, diskpart still shows…

                                    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                    • [BUG] Start-Process might not return Handle/ExitCode

                                      Issue:
                                      In order to obtain the Exit Code from a Process we are executing the Start-Process cmdlet with the following parameters:
                                      -PassThru -Wait -WindowStyle Hidden
                                      or
                                      -PassThru -Wait -NoNewWindow

                                      In rare cases, this leads to the following exception:
                                      System.Management.Automation.CmdletInvocationException: Cannot process request because the process (<ProcessIdHere>) has exited. ---> System.InvalidOperationException: Cannot process request because the process (<ProcessIdHere>) has exited.
                                      at System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited)
                                      at System.Diagnostics.Process.OpenProcessHandle(Int32 access)
                                      at System.Diagnostics.Process.get_Handle()

                                      After the Exception occurred, the returned Object does not contain a Handle nor Exit Code but the executable itself executed without issue.

                                      We also tried to remove the “-Wait” Parameter and…

                                      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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                                      • List which module contains which CmdLets.

                                        I am trying to figure out which module contains Get-PcsvDevice. I am running PS 5.1 on Server2012 R2.

                                        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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Please make this DNSServer module available on the Linux distribution of Powershell (pwsh)

                                          If DNSServer module was available on Linux' powershell, Terraform would be able to provide infrastructure configuration for Windows DNS Server. This would benefit enterprises who are now using Terraform to implement infrastructure as code ...

                                          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  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 72 73
                                          • Don't see your idea?

                                          Feedback and Knowledge Base