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. PowerShell ISE does not detect changes to a file open in PowerShell ISE when that file is modified outside of PowerShell ISE.

    Votes from Connect: 3

    Original Date Submitted: 10/27/2015 6:11:19 PM

    Description:
    ********Contact Information********
    Handle: jwirl
    Site Name: PowerShell
    Feedback ID: 1950051
    ***************************************

    Frequency: PowerShell ISE
    Regression: 1. Open a script file in PowerShell ISE.
    2. Open up the same script file in another editor i.e. notepad++ or Microsoft Visual Studio
    3. Make a change to the script file in the other editor and save it.
    4. Return to PowerShell ISE, it does not warn you that the script file has been changed else where and it does not re-load the script file into the ISE window.
    5. Make a change…

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

      We’ll send you updates on this idea

      7 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
    • PowerShell ISE Crashes after loading Winforms

      When Winforms are used in PowerShell code, the ISE will eventually freeze/crash when idle (after form closed). This can happen as fast as 5 minutes but may take longer, time seems to be random. No issues occur when using Winforms via regular PowerShell console and using other IDEs (such as PowerGUI).

      Example code to reproduce:
      $Form = New-Object System.Windows.Forms.Form
      $Form.DataBindings.DefaultDataSourceUpdateMode = 0
      $Form.Text = "My Form"
      $Form.AutoSize = $true
      $Form.AutoSizeMode = "GrowAndShrink"
      $Form.StartPosition = "CenterScreen"
      $Form.MaximizeBox = $false
      $Form.FormBorderStyle = "FixedSingle"

      $Return = $Form.ShowDialog()

      Note: It does appear the more form objects added, the more likely to crash, but can…

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

        We’ll send you updates on this idea

        17 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
      • Create a SendTo-SysLog cmdlet and include it by default

        Please include by default a SendTo-Syslog cmdlet to send log messages to UNIX, Linux and SIEMs.

        If you were to add a syslog service role to send or accept syslog messages in a scalable way which integrated with the Windows event logs, that would be great too, but a cmdlet to just send UDP packets is easy enough to include in PoSh 5.1 right now.

        Thanks!

        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

          6 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
        • -IgnoreCertificateCheck or -SkipSslVerification parameter for [Invoke-WebRequest & Invoke-RestMethod]

          Invoke-WebRequest & Invoke-RestMethod need a parameter to easily skip/ignore checking for a valid certificate of https uri's. This could be required for a number of reasons such as development site only using self signed certificate while testing.

          9 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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
          • Enable service restart and similar scenarios in DSC configurations

            Renamed from "Provide additional resource control methods in DSC" for clarity
            Votes from Connect: 13

            Original Date Submitted: 5/28/2015 12:15:20 AM

            Description:
            ********Contact Information********
            Handle: Ben Gelens
            Site Name: PowerShell
            Feedback ID: 1373894
            ***************************************

            Problem Description:
            Scenario:
            A MOF file is compiled for a node serving a website. The service resource is used to declare the W3SVC service to be started and the file resource is used to copy in the web content.
            Next an update is deployed to the website by compiling a new MOF file and for the new content to become active, the W3SVC service needs to…

            70 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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
            • Invoke-DSCResource on WindowsFeatureSet fails

              As subject says. Example is below

              PS C:\Windows\system32> Invoke-DscResource -Name WindowsFeatureSet -Property @{Name = "Storage-Services"; Ensure = "Present" } -Method test -ModuleName PSDesiredStateConfiguration
              Invoke-DscResource : Failed to serialize properties into CimInstance.
              At line:1 char:1
              + Invoke-DscResource -Name WindowsFeatureSet -Property @{Name = "Storag ...
              + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
              + CategoryInfo : NotSpecified: (:) [Invoke-DscResource], SerializationException
              + FullyQualifiedErrorId : System.Runtime.Serialization.SerializationException,Microsoft.PowerShell.DesiredStateConfiguration.C
              ommands.InvokeDscResourceMethodCommand

              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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                survey  ·  Mark Gray responded

                Thanks for the feedback! 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.

                MarkG

              • Implement the && and || operators that bash has

                Votes from Connect: 22

                Original Date Submitted: 2/8/2013 8:32:38 AM

                Description:
                ********Contact Information********
                Handle: antize
                Site Name: PowerShell
                Feedback ID: 778798
                ***************************************

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

                Problem Description:
                Discussion about this at stackoverflow - http://stackoverflow.com/questions/563600/can-i-get-to-work-in-powershell

                Jeffery Snover said to request it here so here I am :D

                Here is a description of what they do -- http://www.gnu.org/software/bash/manual/bashref.html#Lists

                An AND list has the form
                command1 && command2

                command2 is executed if, and only if, command1 returns an exit status of zero.

                An OR list has the form
                command1 || command2

                command2 is executed if,…

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

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

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

                          We’ll send you updates on this idea

                          2 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                        • Windows PowerShell ISE: Add ability to rearrange tabs

                          Votes from Connect: 17

                          Original Date Submitted: 6/21/2013 12:41:41 AM

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

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

                          Problem Description:
                          It would be nice in PS ISE if when you have multiple files open, that you could drag the tabs at the top of the Script Pane window (i.e. the file names) to rearrange them. Right now if you want to rearrange the order of the tabs, you have to actually close the tabs and re-open them in the order that you want them.

                          This…

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

                            We’ll send you updates on this idea

                            In Queue  ·  2 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                          • [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…

                            19 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

                              6 comments  ·  Package Management  ·  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.

                              • 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 →
                                  • Windows PowerShell ISE: Add ability to save/load session state

                                    Votes from Connect: 33

                                    Original Date Submitted: 6/20/2013 11:48:19 PM

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

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

                                    Problem Description:
                                    It would be great if PS ISE had the ability to allow you to save and restore all of your open tabs and files. Ideally, there would be an option to automatically save the session when ISE is closed, and automatically load it when ISE is started.

                                    The PowerShell Team has blogged about how to save/load your session by writing an add-on (http://blogs.msdn.com/b/powershell/archive/2010/06/05/export-and-import-powershell-ise-opened-files.aspx),…

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

                                      We’ll send you updates on this idea

                                      2 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                    • 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 →
                                          • Don't see your idea?

                                          Feedback and Knowledge Base