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. Out of the box support for YAML like csv / xml / json

    Votes from Connect: 25

    Original Date Submitted: 4/16/2015 7:34:07 PM

    Description:
    ********Contact Information********
    Handle: ducke
    Site Name: PowerShell
    Feedback ID: 1252364
    ***************************************

    Problem Description:
    In the "DevOps" world, YAML is a first class citizien in products like Kitchen CI, Elasticsearch, Appveyor, Travis CI, rubocop etc.
    It would be great to have commands similar to https://github.com/dfinke/PowerYaml native without the need to import a module.

    Product Studio item created by Connect Synchronizer due to creation of feedback ID 1252364 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=1252364).

    Repro Steps:

    Internal BugId: 14385

    66 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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
    • Set-Service -StartupType 'Automatic (Delayed Start)'

      Can we get this missing option added?
      It would be also nice if this was shown with Get-Service rather than services only showing Automatic when they are actually 'Automatic Delayed Start'.

      20 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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
      • Invoke-RestMethod and Invoke-WebRequest Encoding bug

        Invoke-RestMethod and Invoke-WebRequest Encoding bug

        This is 4 years old bug,from Invoke-RestMethod and Invoke-WebRequest was born.

        【Cause of the bug】
        Utf8 web page incorrectly identified as iso8859-1.
        Mistakenly convert THE! utf8("false ISO-8859-1") source string to utf8.
        There may be more encoding incorrectly identified,encoding incorrectly conversion errors.

        【bug with powershell version】
        all version
        powershell 5.0 with windows10 10586 :yes tested.

        【test code】
        Invoke-WebRequest -Uri 'http://www.msn.com'; # return chinese messy code
        (Invoke-WebRequest -Uri 'http://www.msn.com').BaseResponse.CharacterSet # utf8 web page,but return ISO-8859-1

        Invoke-RestMethod -Uri 'http://www.msn.com';

        【how to fix】
        convert string encoding.
        from utf8 to THE! "false ISO-8859-1"

        $utf8 =…

        15 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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
        • PowerShell version of DEVCON.EXE or Device Manager cmdlets

          DEVCON.EXE can be used to install, uninstall, enable, disable, configure or query devices (as seen in Device Manager) from the command line. Here is the description:

          https://msdn.microsoft.com/en-us/library/windows/hardware/ff544707(v=vs.85).aspx

          To get DEVCON.EXE, you have to download the entire Windows Drivers Kit (WDK), which is 803MB in size, and, as I understand it, DEVCON cannot be legally redistributed or shared separately.

          It would be good to have a PowerShell cmdlet to replace DEVCON that is either installed by default or available in the PSGallery.

          Or just allow DEVCON.EXE to be downloaded separately from the WDK somehow, like through NuGet, PSGallery or anywhere.

          Or…

          7 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

            5 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
          • [Bug] Install-Module -Force prompts for user input when NuGet-anycpu.exe is not present

            Steps to reproduce:

            1. Install WMF5 RTM on a fresh Windows 2012 R2 system
            2. Open an Administrator PS prompt and run "Install-Module Pester -Force"

            Expected result: The -Force parameter causes the NuGet client to be installed without user intervention.

            Actual result: The following message is displayed:

            NuGet-anycpu.exe is required to continue.
            PowerShellGet requires NuGet-anycpu.exe to interact with NuGet based galleries. NuGet-anycpu.exe must be available in
            'C:\Program Files\PackageManagement\ProviderAssemblies' or
            'C:\Users\Administrator\AppData\Local\PackageManagement\ProviderAssemblies'. For more information about NuGet provider,
            see http://OneGet.org/NuGet.html. Do you want PowerShellGet to download NuGet-anycpu.exe now?
            [Y] Yes [N] No [S] Suspend [?] Help (default is "Y"):

            The MSDN…

            21 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  ·  Package Management  ·  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  ·  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
              • $url = 'http://www.bloomberg.com/professional/downloads/'

                I believe I have a bug with Invoke-Webrequest.

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

                Invoke-WebRequest -UseBasicParsing -Uri $url "

                Or

                Invoke-WebRequest $url "

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

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

                Name : Windows PowerShell ISE Host
                Version : 4.0

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

                  We’ll send you updates on this idea

                  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                • The -ToSession parameter for copy-item should accept multiple sessions

                  The Copy-Item cmdlet now supports copying to a remote session. I typically work against a farm of servers and do something like
                  $s = new-pssession server1, server2, server3.
                  I want to be able to do copy c:\file.txt -tosession $s -destination c:\file.txt.

                  Right now, I get an error saying cannot convert an array of objects to a System.Management.Automation.Runspaces.PSSession object. I had to copy the file 3 different times to each session.

                  20 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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →

                    Thank you for your input. Based on its current ranking compared to other feedback items and product schedule, work on this item is pending (and will be driven by) further customer input. If you did not open this issue and are also impacted by it, please vote this item up.

                  • Allow Register-PSRepository to persist credentials

                    NuGet feeds allow security around both listing/retrieving packages as well as pushing packages. NuGet.exe and other clients further allow you to persist credentials for listing/retrieving packages using the "nuget sources" command. (https://docs.nuget.org/consume/command-line-reference#sources-command)

                    This persistence is important for two reasons:

                    1) When you push a package to a secured NuGet feed, NuGet clients generally do a list/read operation first. That list/read operation doesn't contain any API key that you pass along in the push operation. In order for a push to succeed with an API key, you also need to have credentials set for the read operation. You can…

                    20 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  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                    • PSScriptRoot in ps1 script in PSv3 is empty in ISE

                      Votes from Connect: 13

                      Original Date Submitted: 11/1/2012 3:56:26 AM

                      Description:
                      ********Contact Information********
                      Handle: J Stangroome
                      Site Name: PowerShell
                      Feedback ID: 769359
                      ***************************************

                      Frequency: Always Happens
                      Regression: I don't know if this issue existed previously

                      Problem Description:
                      In the PSv3 documentation, $PSScriptRoot is now an automatic variable that is populated for both modules and ps1 scripts. It works from PowerShell.exe but not from the ISE

                      Product Studio item created by Connect Synchronizer due to creation of feedback ID 769359 (http://connect.microsoft.com/PowerShell/feedback/ViewFeedback.aspx?FeedbackID=769359).

                      Repro Steps:
                      1. Create a new script (eg c:\test.ps1) with the contents: gv PSScriptRoot
                      2. From PowerShell.exe, execute…

                      25 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

                        8 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                      • new parameter -markdown for Format-Table

                        Example:

                        $Get-Process | select -First 5 | ft -au

                        Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
                        ------- ------ ----- ----- ----- ------ -- -----------
                        716 47 32832 43396 587 1764 AdminManagerClient
                        257 34 3432 9352 84 1128 AgentService
                        495 78 15700 28528 154 3744 AppVClient
                        244 35 60952 41796 692 0.56 5416 AppVStreamingUX
                        591 18 17280 22992 108 1,751.98 4672 audiodg

                        $Get-Process | select -First 5 | ft -markdown

                        |Handles|NPM(K)|PM(K)|WS(K)|VM(M)| CPU(s)| Id|ProcessName |
                        |-------|------|-----|-----|-----|--------|----|------------------|
                        | 716| 47|32832|43396| 587| |1764|AdminManagerClient|
                        | 257| 34| 3432| 9352| 84| |1128|AgentService |
                        | 495| 78|15700|28528| 154| |3744|AppVClient |
                        | 244| 35|60952|41796| 692| 0.56|5416|AppVStreamingUX | …

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

                          We’ll send you updates on this idea

                          survey  ·  1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                        • invoke-webrequest hangs/freeze at many websites

                          Powershell 4.0 / IE 11

                          Works:
                          invoke-webrequest "http://www.google.de"
                          GET http://www.google.de with 0-byte payload
                          received 189489-byte response ...
                          - Result: Microsoft.Powershell.Commands.HtmlWebResponseObject

                          Works not:
                          invoke-webrequest "http://www.heise.de"
                          GET http://www.heise.de with 0-byte payload
                          received 179789-byte response ...
                          hangs, no success, no result

                          invoke-webrequest "http://windows.microsoft.com/en-US/windows-8/system-requirements"
                          GET http://windows.microsoft.com/en-US/windows-8/system-requirements with 0-byte payload
                          received 91075-byte response ...
                          hangs, no success, no result

                          the same with -UseBasicParsing

                          16 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  ·  PowerShell Engine  ·  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),…

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

                              We’ll send you updates on this idea

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

                              Votes from Connect: 20

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

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

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

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

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

                              25 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 →
                              • Missing trigger options in New-ScheduledTaskTrigger

                                Votes from Connect: 3

                                Original Date Submitted: 10/30/2014 5:41:25 PM

                                Description:
                                ********Contact Information********
                                Handle: ulrichb
                                Site Name: PowerShell
                                Feedback ID: 1015225
                                ***************************************

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

                                Problem Description:
                                New-ScheduledTaskTrigger offers just a subset of the trigger options. Things like "On an (event log) event", or "On workstation (un)lock" are missing.

                                We just found ugly workarounds to add these (e.g. event log) triggers by using "schtasks.exe /create /xml" or using the COM "TaskScheduler" class.

                                New-ScheduledTaskTrigger should allow specifying all options the Task Scheduler UI offers. As there already exists an XML representation of these…

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

                                  We’ll send you updates on this idea

                                  2 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                • WinRM should register it's proper SPN

                                  The WinRM service should register the HTTP/computername:5985 and HTTP/computername.fqdn:5985 (or configured port) SPNs so that clients can locate the proper Kerberos principal to authenticate against. Currently anything that uses Kerberos over http:80 can claim its valid SPN and break Kerberos authentication for WinRM.

                                  22 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  ·  WinRM  ·  Flag idea as inappropriate…  ·  Admin →
                                  • ConvertTo-Html incorrectly labels default single column

                                    ConvertTo-Html works as desired when the output contains two or more columns.

                                    ConvertTo-Html works as desired when the output contains only one column derived from a property that was explicitly named in the -Properties parameter.

                                    However, if a match string is used for the -Property parameter, or the -Property parameter is omitted (and presumably defaults to match string "*"), and the output contains only a single column, the column header incorrectly contains the match string instead of the name of the property.

                                    For example, this:

                                    $X = [pscustomobject]@{ Name = 'Joe' }
                                    ConvertTo-Html -InputObject $X -Fragment

                                    Results in this:

                                    <table> …

                                    12 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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Bug in WMF5 with inaccessible network path in PSModulePath environment variable

                                      In WMF5, if the PSModulePath environment variable has a UNC Path in it that is currently inaccessible, powershell fails to load many built-in modules.

                                      For instance, if PSModulePath looks like this:

                                      C:\Users\jmmurrah\Documents\WindowsPowerShell\Modules;C:\Program Files\WindowsPowerShell\Modules;C:\windows\system32\WindowsPowerShell\v1.0\Modules;\\badservername\folder

                                      When powershell loads and times out trying to access the path, many standard cmdlets are not found; get-host, test-path, format-list, etc.

                                      Get-member -listavailable reports back the modules, but does not list their path on disk, and many of them have no exported commands. When trying to import one of these modules powershell reports an error that the module path cannot be found.

                                      This doesn't appear to happen…

                                      7 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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Generate DSC from existing servers

                                        For those of us with heavily-configured snowflake servers, it would great if it were possible to generate DSC files from existing builds. This may not be possible in all areas, but perhaps a subset of areas could be supported, with IIS 7.0+ at the top of the list.

                                        12 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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                        • PowerShell 5 - bug in GetType() for COM objects IADSUser

                                          Votes from Connect: 9

                                          Original Date Submitted: 6/16/2015 3:12:31 AM

                                          Description:
                                          ********Contact Information********
                                          Handle: Ondrej Sevecek
                                          Site Name: PowerShell
                                          Feedback ID: 1437366
                                          ***************************************

                                          Frequency: PowerShell
                                          Regression: run the mentioned script on Windows 10.0.10074 in its built-in PowerShell 5.

                                          Problem Description:
                                          When I run the following on Windows 10.0.10074 in PowerShell 5, it does not work for user members of the local group:

                                          $admins = [ADSI] 'WinNT://./Administrators,group'

                                          foreach ($oneMember in $admins.Members()) {

                                          $oneMemberName = $oneMember.GetType().InvokeMember('Name', 'GetProperty', $null, $oneMember, $null)
                                          Write-Host $oneMemberName

                                          }

                                          The error is: Error while invoking GetType. Could not find member.

                                          While the code works fine on any other…

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

                                          Feedback and Knowledge Base