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. WMF: It's annoying to not have an independent setup for Win10

    Hello

    It is really annying that Microsoft still patronizes their Customers and don't allow to setup WMF (e.g. Version 5.1) on Windows 10 without Windows Update / without upgrading to the anniversary release.

    We have 650 Desktops and we have not yet finished all compatibility tests, but we have Developers which needs WMF 5.1.

    Please, keep in mind simple, friendly installations and not microsoft internal political decisions.

    Because there are many Operating Systems with open source package managers, you could peek how they are solving such problems. Since decades.

    Kind regards, Thomas

    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

      1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    • Test-Connection timetolive parameter should be renamed to HopLimit

      TimeToLive is a misnover for HopLimit. Though this has been corrected in the IPv6 rfc, Test-Connection still references this parameter as TimeToLive, which leads to confuse it with a timeout.

      5 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

        1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
      • New-CimSession from within a PSJob created by a scheduled task

        I'm having a strange issue with one of my scripts, where the New-CimSession cmdlet throws out a strange error when the script is run as a scheduled task, but not when I run it interactively under the same user account.

        The details are described here:
        https://github.com/PowerShell/PowerShell/issues/3538

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

          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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
          • Curated Module Lists

            The PowerShell gallery should allow users to create "lists" of modules (think of it as an Amazon wish list).

            A user could create a "favorites" list and add modules and scripts to it to keep track of their favorites over time (maybe even "subscribe" to notifications of new releases of things on the list).

            A user could also create a "user management modules" list or a "stretching PowerShell's limits" list or a "should have been in the box" list, or a "things I use in my prompt" list ...

            But most importantly, users should be able to SHARE those lists,…

            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

              survey  ·  0 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
            • aliases should be able to contain parameters

              While PowerShell's introduction of aliases to Windows command lines is a (long due) help, they are very limited. Compared to aliases found in Linux shells such as bash, aliases in PowerShell have one glaring weakness: they can only replace a single token with another single token.

              For example, on Linux, I can do the following:
              # Add default parameters to ls so it shows hidden files and uses color
              alias ls='ls -A --color=auto'
              # Add an alias that shows ls long-form output and file type indicators
              alias ll="ls -lF"

              On Po9werShell, I can't do anything like that. "ls" is aliased…

              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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
              • Gallery help site needs new capability

                The documentation site need a menu or link item to quickly switch versions of a help topic. Like the old MSDN site.

                Example Site topic: https://msdn.microsoft.com/powershell/reference/5.1/Microsoft.PowerShell.Utility/Read-Host

                The version access is important for support issues to be able to quickly switch versions as the "-online" with help always targets the current version or nothing.

                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  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                • Allow to be cast Dictionary type with [pscustomobject]

                  $d = New-Object 'system.collections.generic.dictionary[string,string]'
                  $d.Add("a","1")
                  $d.Add("b","2")

                  PS > [pscustomobject]$d

                  Key Value
                  --- -----
                  a 1
                  b 2

                  Preferred output should be:

                  PS > New-Object PsObject -Property $d

                  a b
                  - -
                  1 2

                  PS > [pscustomobject]@{a=1;b=2}

                  a b
                  - -
                  1 2

                  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 →
                  • [BUG] Count property incorrect works with a single WMI object

                    You can now use Count or Length on any object, even if it didn’t have the property. If the object didn’t have a Count or Length property, it will will return 1 (or 0 for $null). Objects that have Count or Length properties will continue to work as they always have.

                    # Returns nothing,but should be
                    PS > (Get-WmiObject -Class Win32_OperatingSystem).Count
                    PS > (Get-CimInstance -ClassName Win32_OperatingSystem).Count

                    #Works as expected
                    PS > (Get-WmiObject -Class Win32_OperatingSystem -Filter "Name=1").Count
                    0
                    PS > (Get-CimInstance -ClassName Win32_OperatingSystem -Filter "Name=1").Count
                    0
                    PS > (Get-CimInstance -ClassName Win32_Service).Count
                    230
                    PS > (Get-WmiObject -Class Win32_Service).Count
                    230

                    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 →

                      I can repro this for sure, but given the difficulty of servicing and the impact of the bug, it’s pretty unlikely to get fixed.

                      One possible workaround: (Get-CimInstance -ClassName Win32_OperatingSystem -Filter “Name=1″ | Measure-Object).Count

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

                      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

                        survey  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                      • Update to 5.1 breaks Get-WindowsFeature when Carbon module is installed

                        I've been testing WMF 5.1 recently and noticed a random issue. After installing WMF 5.1 I could no longer run Get-WindowsFeature. I get the following error:

                        PS C:\> Get-WindowsFeature
                        Get-WindowsFeature : The term 'Get-WindowsFeature' is not recognized as the name of a cmdlet, function, script file,
                        or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
                        try again.
                        At line:1 char:1
                        + Get-WindowsFeature
                        + ~~~~~~~~~~~~~~~~~~
                        + CategoryInfo : ObjectNotFound: (Get-WindowsFeature:String) [], CommandNotFoundException
                        + FullyQualifiedErrorId : CommandNotFoundException

                        Tab complete still works for the cmdlet however. After some digging, I…

                        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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                        • Register-PSSessionConfiguration -WarningAction SilentlyContinue does not suppress warning text

                          When creating a JEA endpoint with the following command:

                          Register-PSSessionConfiguration -WarningAction SilentlyContinue ...

                          The warning about restarting the WinRM service is still displayed. The expected action is for the SilentlyContinue argument to suppress any warnings. This occurs every time.

                          The workaround here is to use the -NoServiceRestart switch and then restart the WinRM service manually.

                          Behavior is observed on Server 2016 with PSVersion 5.1.14393.0.

                          Thanks,
                          J.

                          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  ·  WinRM  ·  Flag idea as inappropriate…  ·  Admin →
                          • Powershell help in 2012r2 Virtual machine (Evaluation copy) won't update

                            Powershell commands: get-help get-vm, update-help will not work in Hyper-V.

                            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 →
                            • import-module generates output

                              Import-Module generates output when a fully qualified path is used and the path is not the "C" drive. For example Import-Module D:\Temp\PhilsFunctions lists each function imported as if -Verbose was specified.

                              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 →
                              • BUG: Import-Module does not autocomplete parameter switch "-Name"

                                Typing "Import-Module -Na<tab>" does not autocomplete to "-Name", as if parameter switch "-Name" is no recognized.

                                Other switches "-g<tab" and so forth work ok

                                $PSVersionTable.PSVersion
                                Major Minor Build Revision
                                ----- ----- ----- --------
                                5 1 14393 953

                                @arisaastamoinen

                                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 →
                                • PowerShell: Unable to reconnect disconnected PSSession when PSRemotingProtocolVersion does not match

                                  From a win7 or win10 workstation running PS5 I can create a PSRemoting session (new-pssession) to a server running PS4. But if that session should become disconnected, I'm unable to reconnect (or receive) the session, receiving, instead the following error:
                                  Receive-PSSession : Connecting to remote server hsfsrpw001 failed with the following error message : The server that is running
                                  Windows PowerShell does not support connect operations on the protocolversion 2.3 that is negotiated by the client computer. Make
                                  sure the client computer is compatible with the build 6.3.9600.17400 and the protocol version 2.2 of Windows PowerShell. For more
                                  information, see…

                                  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  ·  WinRM  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Export-ISEState options

                                    Export-ISEState should have the ability to 'Save current tab', 'Save specific tabs' and 'Save all tabs'

                                    Default should remain 'Save all tabs'

                                    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

                                      survey  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Write-Host -NoNewLine and Transcription

                                      Starting with WMF 5.0 the -NoNewLine option for Write-Host is essentially ignored in the transcripts created using Start-Transcript.

                                      Simple example script:

                                      Start-Transcript log.txt
                                      Write-Host -NoNewLine "this should all"
                                      Write-Host -NoNewLine "be on one line"
                                      Write-Host -NoNewLine "in the log.txt file"
                                      Stop-Transcript

                                      5 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 →
                                      • [BUG] "Start-Process -Verb runas" overrides working directory to System32

                                        PowerShell's Start-Process cmdlet (aliased as "start") has the very useful "-Verb" parameter, which can be used to launch a process as Administrator ("-Verb runas") the same way as if you selected "Run as Administrator" from the context menu, which has several advantages over approaches such as the "runas" command in CMD or similar (in particular, in UAC Admin Approval Mode, it lets you elevate from limited to Admin privileges without needing to change users to BUILTIN\Administrator or similar).

                                        However, there's a bug in this parameter's behavior: it changes the command's working directory to the System32 directory for any program itself…

                                        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 →
                                        • Set-AuthenticodeSignature fails to release file handle after error

                                          When attempting to use Set-AuthenticodeSignature to sign an unsupported file type, such as a .txt file with unstructured text, the cmdlet throws an error as expected, but then the PowerShell host process holds open a handle to that file, preventing the file from being deleted or edited. The PowerShell host process must be terminated to close the handle, or another external tool, like Process Hacker, must be used to close the handle manually.

                                          The error thrown is:

                                          "Status: UnknownError; StatusMessage: The form specified for the subject is not one supported or known by the specified trust provider"

                                          The problem was…

                                          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 →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base