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. When is Powershell v6 due to be released?

    When is Powershell v6 due to be released Will it work with Windows 10?

    1 vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
    • ISE Vi editmode

      Please make sure that the option:
      Set-PSReadlineOption -EditMode Vi
      works as expected in ISE as it does in the powershell.exe so we have a consistent working environment.

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
      • PowerShell Core - Workflow Support

        Workflows in Windows PowerShell are extremely powerful, we've started investigating their use for our user provisioning tasks which need to gracefully handle timing issues, connectivity issues, throttling, etc.

        We'd really like to be able to run workflows in lightweight configurations like Docker Containers, the Nano Server image is especially attractive as it is so small. Unfortunately PowerShell Core on the Nano Server doesn't currently support workflows, we'd like to see that support added in PowerShell Core.

        7 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

          3 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
        • Remote Powershell Session "-ErrorAction Stop" give Non-Terminating Error

          Script with Remote Powershell that are using Try/Catch and (of course) Terminating error, but for some reason under PSv5.1 Shell now those "-ErrorAction Stop" aren’t producing Terminating Error.

          I need to force $ErrorActionPreference = “Stop” to have my Try/Catch to work.

          1 vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
          • Get- and Remove-DnsServerResourceRecord deficiencies

            Get- and Remove-DnsServerResourceRecord have a couple of deficiencies:

            1) most cmdlets support piping from Get-* to Remove-*, this does not currently work properly with Remove-DnsServerResourceRecord...

            "The input object cannot be bound because it did not contain the information required to bind all mandatory parameters: ZoneName"

            So, the objects returned from Get-DnsServerResourceRecord should contain the ZoneName property.

            2) Remove-DnsServerResourceRecord does not respect -Confirm:$false, even when it's specified, it asks for confirmation every time.

            i.e. this will ask for confirmation 200 times if you have 200 records (and -ZoneName must be specified because of the aforementioned issue!), at least thankfully you can…

            1 vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
            • ExecutionPolicyOverride-Problem with GPO in place on Server 2016

              I'm preparing some "Windows Server 2016" machines. While testing I stumbled across some issues with PowerShell.
              I invested some time and narrowed it down a bit.

              I also posted the issue on Microsoft Technet Forum and got the recommendation to file a Bug/Request here. Other users were also able to reproduce it quite easily:
              (see: https://social.technet.microsoft.com/Forums/en-US/842c2cc2-c7f6-41b7-9561-31b2c65262b0/executionpolicyoverrideproblem-with-gpo-in-place-?forum=winserverpowershell)

              Steps to reproduce:

              I create a new VM, insert the Server 2016 ISO, boot up and install. After first start I change the network-settings for my environment and join the domain. I move the new computer-object to an OU where the group policy…

              3 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
              • get-credential with a smart card

                I work in an environment that enforces 'smart card required' for all accounts admin or otherwise so I have multiple certificates on the smart card. I understand you can use a smart card with get-credential but the problem is it only has the first cert available when prompted. I need there to be a way to make all certs on the smart card available when prompted with get-credential. I'm also stuck using ActivClient so hopefully this isn't a limitation of the smart card provider.

                4 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                • Type restrictions when rendering a property as a string in a MOF-file

                  Dear,

                  As we use Powershell V5 Classes extensively, we create instances of a class and add them to a Hashtable.

                  This hashtable is assigned to an member of a DSC Resource. When creating the .MOF file, I receive an System.ArgumentException on the DSC resource "PSDesiredStateConfiguration.psm1"

                  -> Only certain basic-types are allowed to be serialized to MOF-file :
                  $elementsAsStrings = foreach ($p in $Value.GetEnumerator())
                  {
                  if($p.Value -isnot [string] -and
                  $p.Value -isnot [char] -and
                  $p.Value -isnot [int64] -and
                  $p.Value -isnot [uint64] -and
                  $p.Value -isnot [double] -and
                  $p.Value -isnot [bool] -and
                  $p.Value -isnot [datetime] -and
                  $p.Value -isnot [ScriptBlock])
                  {
                  $errorMessage = $LocalizedData.HashtableElementTypeNotAllowed -f…

                  1 vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                  • ~Status line

                    I've noticed that if I have a lot of 'Undo's quickly, it's hard to tell what line I just 'undid'. Is it possible to have something show me what I just 'undid' or 'redid', such a s a status line of sorts to tell me where my cursor is...like at the bottom of the editor?

                    1 vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                    • Bug: DSC Decryption across Servers not Working

                      I have created a Pull Server Configuration. I have created the DSC Signing Certificate using a custom template on a Enterprise Root CA which has worked for 2012R2 nodes and also tested using xDSCUtils New-xSelfSignedDscEncryptionCertificate. Using the same Certificate to Compile and Execute the MOF on the same Computer works, it is only if you compile on one and execute on another that the problems arise.
                      I kept getting errors when passing in credentials. I therefore wrote a tiny custom DSC Resource that Displays the Password as clear text when I run Start-DSCConfiguration -Wait -Verbose
                      You can find it here …

                      4 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        4 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                      • [Bug] Test-Path -PathType Containers Allows Users to Bypass Security Restrictions on Existence Testing

                        Under PowerShell 5.1, the Test-Path command will return a [UnauthorizedAccessException] when you try to test a path the current user does not have access to. Normally this error is uncatchable, but it becomes so if you set the PathType to Container. Despite the name, Test-Path will verify the existence of both Containers and Leafs in this mode. Because the [UnauthorizedAccessException] error is ONLY returned for extant files and folders, a user can use it to confirm the existence of files and folders they should not be able to see or access.

                        This one-liner allows you to bypass security restrictions:
                        try{…

                        1 vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                        • Powershell on Raspberry pi

                          add Powershell support for Raspberry Pi devices running Raspbian OS

                          13 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            2 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                          • Inconsistant handling of native command stderr

                            I discovered recently that the handling of `stderr` from native commands isn't being dealt with consistently between Windows PowerShell and Windows PowerShell ISE.

                            Steps to reproduce
                            ------------------

                            ```powershell
                            $errorActionPreference="stop"; try { cmd /c nosuchexe } catch { 'dang!' }
                            ```

                            Actual ISE behavior (expected)
                            -----------------

                            ```none
                            dang!
                            ```
                            Native commands writing to `stderr` while `$errorActionPreference="stop"` generate a catchable `NativeCommandError` which encapsulates the original error message in a `ErrorRecord`. It is easy to capture, analyze, and reword error messages in context.

                            Actual CLI behavior
                            ---------------

                            ```none
                            'nosuchexe' is not recognized as an internal or external command,
                            operable program or batch file. …

                            2 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                            • Error in topic about_Pipelines under INVESTIGATING PIPELINE ERRORS

                              The example command given under "INVESTIGATING PIPELINE ERRORS" in the about_Pipelines help topic is incorrrect. the example situation is moving a registry entry from one key to another, in the example it's trying to move the entry "product" from the hklm:\software\mycompany\design registry key to the hklm:\software\mycompany\sales key. The second ("fixed") command at the end:

                              get-item -path hklm:\software\mycompany\design |
                              move-itemproperty -dest hklm:\software\mycompany\design -name product

                              should be:

                              get-item -path hklm:\software\mycompany\design |
                              move-itemproperty -dest hklm:\software\mycompany\sales -name product

                              I also think the source and destination seem switched or misplaced throughout that section of the topic, unrelated to the example error given for the purpose…

                              1 vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                              • Bug when loading functions with custom classess from One Drive folder in Windows 10

                                Loading scripts with custom classes fails when loading file from One Drive folder location

                                2 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                • The display of the console is misaligned if execute sfc.exe on ja-jp.

                                  The display of the console is misaligned if execute sfc.exe /scannow on ja-jp environment.

                                  I tried on the both en-us and ja-jp OS environment and it's only happens on the ja-jp.

                                  1 vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Bug: New-PSDrive mounts locally scoped, even though it is supposed to be across a powershell Session.

                                    Confirmed that PSDrive is only scope locally in the class method is was called in:

                                    Test Setup:

                                    Mount(): HKU, HKCC, HKCUHKLM in class method. Display PSDrive mounts.
                                    Call Test() within that Mount(), which mounts HKCR; Display PSDrive in method call.
                                    Display PSDrive mounts on Test() return
                                    Display PSDrive mounts on Mount() return
                                    Call Test() method from main, Display PSDrive mounts.
                                    Display PSDrive mounts on Test() return
                                    VERBOSE: Mounting registry drives for use ...
                                    VERBOSE: HKU
                                    VERBOSE: HKCC
                                    VERBOSE: HKCU
                                    VERBOSE: HKLM
                                    Alias C Cert Env Function HKCC HKCU HKLM HKU Variable WSMan (Scope: Mount())
                                    Alias C Cert Env Function HKCC…

                                    1 vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Expand-Archive does not return a System.IO.FileInfo nor System.IO.DirectoryInfo

                                      The docs clearly say that Expand-Archive should return a System.IO.FileInfo or System.IO.DirectoryInfo but it has no output

                                      1 vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                                      • WMF 5.1 breaks class registrations for the ConfigMgr client agent

                                        I've localized this issue to WMF 5.1 on Windows 7. With this installed, the WMI namespace: root\ccm\policy\defaultmacine\requestedconfig becomes invalid. This is important because in In-Place upgrade scenarios from Windows 7 to Windows 10, the task sequence agent cannot resume the task sequence without being able to read this namespace. I know this is a combination of WMF and ConfigurationManager so I will post there as well.

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  WMI  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Bug in Get-Date when converting time ticks

                                          The year given by get-date when translating a timer tick (as LastLogon from an AD user account) seems to be incorrect. Especially compared to other methods of translating timer ticks.

                                          get-date(131406975810394085)
                                          den 31 maj 0417 09:46:21

                                          [datetime]::FromFileTime("131406975810394085").ToString()
                                          2017-05-31 11:46:21

                                          Year 2017 or 417?

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base