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. Bug: Get-DscConfigurationStatus doesn't show all resources/configurations

    We started to use results from Get-DscConfigurationStatus in our monitoring (SCOM) and while analyzing the results we noticed that some partials are not showing up in the results of this command even though tests/set/get is performed on the target node. After analyzing different methods we found out that:

    * MOF documents generated in C:\Windows\System32\Configuration\ConfigurationStatus seem to limit the results to ~40 last items in DSC configuration
    * Get-DscConfigurationStatus and Test-DscConfiguration -Detail all use the same source of information, thus provide same, truncated output
    * The only reliable source of information is details.json file generate when -Verbose output is requested, but…

    6 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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
    • PowerShell ISE VariableExplorer

      Votes from Connect: 6

      Original Date Submitted: 10/16/2015 2:00:41 PM

      Description:
      ********Contact Information********
      Handle: Gimli92
      Site Name: PowerShell
      Feedback ID: 1907258
      ***************************************

      Problem Description:
      It would be nice to have a built in VariableExplorer in order to see and browse through all variables of the current PowerShell session.

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

      Repro Steps:

      Internal BugId: 15901

      48 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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
      • Windows Update Provider for Powershell Package Manager

        Votes from Connect: 3

        Original Date Submitted: 6/1/2015 12:20:47 AM

        Description:
        ********Contact Information********
        Handle: Matt McNabb
        Site Name: PowerShell
        Feedback ID: 1386686
        ***************************************

        Problem Description:
        Please distribute Windows Updates via a package provider. This will allow browsing and installing updates via existing cmdlets such as Find-Package and Install-Package.

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

        Repro Steps:

        Internal BugId: 14531

        51 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  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →
        • #region / #endregion code folding tokens in ISE should not be case sensitive

          Votes from Connect: 17

          Original Date Submitted: 5/23/2012 8:29:13 PM

          Description:
          ********Contact Information********
          Handle: HalR
          Site Name: PowerShell
          Feedback ID: 743272
          ***************************************

          Frequency: Always Happens
          Regression: No, this is new to the most recent version

          Problem Description:
          I've been using #REGION/#ENDREGION tokens in my code for some time to trigger code folding in various editors (e.g. PowerShellPlus and PowerGUI). The new v3 ISE supports this too which is great--but it's case sensitive for some reason. I consider that a bug and would love to see it made case-insensitive.

          Product Studio item created by Connect Synchronizer due to creation of feedback…

          21 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 →
          • converting multiple lines of code to comment

            Votes from Connect: 5

            Original Date Submitted: 2/20/2015 2:01:32 PM

            Description:

            ********Contact Information********
            Handle: john.s2011n
            Site Name: PowerShell
            Feedback ID: 1139497
            ***************************************

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

            Problem Description:
            in PS 4.0 and also previous versions, there is no option to easily convert multiple selected lines to comment block. so when we have selected multiple lines & we want to make them as comment, we have to insert comment block in another location on the pane, and then cut these multiple lines and paste them inside comment block which is a bit cumbersome.
            but…

            69 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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
            • Add maintenance window awareness to DSC / LCM

              Votes from Connect: 17

              Original Date Submitted: 8/13/2015 12:17:49 AM

              Description:
              ********Contact Information********
              Handle: PowerShellDon
              Site Name: PowerShell
              Feedback ID: 1659904
              ***************************************

              Problem Description:
              Suggestion one:

              Add maintenance window awareness to the Local Configuration Manager. Edited via metaconfig, it specifies times when configuration changes are acceptable, when automated reboots are acceptable. Further automates configuration maintenance especially when you're implementing changes vs. correcting drift.

              Suggestion two:

              Add universal "DoNotImplementBefore" and "ImplementBy" settings to DSC resources. Just as "Present=" specifies to add/remove something, these would indicate a date/time for the setting to become valid (e.g., "we want to implement a bunch of…

              86 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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
              • Test-DscConfiguration fails once running against remote machine

                Having the following script:

                configuration SimpleConfig2
                {
                Import-DscResource –ModuleName 'PSDesiredStateConfiguration'

                node $remoteCommputer
                {
                Environment TestVersion
                {
                Ensure = "Present" # You can also set Ensure to "Absent"
                Name = "TestEnvironmentVariable"
                Value = "TestValue2"
                }
                }
                }

                SimpleConfig2

                Start-DSCConfiguration -Path "SimpleConfig2" -Force -Wait -ComputerName $remoteCommputer -Credential $g_AutomationDefaultVMAccounCred -verbose

                $result = Test-DscConfiguration -Path "SimpleConfig2" -ComputerName $remoteCommputer -Credential $g_AutomationDefaultVMAccounCred

                The config is applied correctly, yet Test-DscConfiguration fails with the following message:

                The configurationData parameter is reserved for future use. The current configuration is used by default.
                + CategoryInfo : InvalidArgument: (root/Microsoft/...gurationManager:String) [], CimException
                + FullyQualifiedErrorId : MI RESULT 4
                + PSComputerName : target-machine

                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

                  2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                • Enable PowerShell module auto-discovery in DSC

                  I recently discovered that in my DSC resource I can't call a powershell cmdlet that internally calls into another powershell cmdlet - that fails because DSC doesn’t explicitly import the full powershell module, but only imports specific .psm1 files.

                  Note, same (cmdlet calling another cmdlet) works perfectly fine when executed from Powershell cmd prompt. Let's fix it for DSC.

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

                    Thank you for your 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

                  • DSC ESENT Database management

                    In a recent change, the new database for the on-prem Pullserver is now ESENT. Had a question for clarification.

                    As an old Exchange guy, I have fears that immediately pop into mind. The logs files do not appear to be using circular logging (a way of self cleaning and restricting the amount of log files) – Is this true?

                    If so, then I’m guess that the log files will continue to grow until the disk is full – which happens to exchange if the log files are not truncated. Is there a way today or in the future we will…

                    26 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

                      investigating  ·  4 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                    • ISE should provide an option to restore previously opened files at startup

                      When ISE starts up, it should by default (make that configurable: always, prompt, never) restore all files that were open in the previous session.

                      46 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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                      • Allow LCM to accomodate module dependencies that get installed by earlier steps in the configuration

                        Currently, if you have a configuration that installs a Windows feature then has another step that configures settings using a module that gets installed with that particular feature, the LCM fails its check because that module is not currently present on the node.

                        For example, we have a configuration that installs the Web-Server role. There are later steps which use the xWebAdministration resource to configure things like Application Pools and Application Pool defaults. The problem is, when the LCM pulls the configuration and runs it's checks, it fails because the xWebAdministration resource uses cmdlets that are present in the WebAdministration…

                        15 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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                        • Powershell (self) update

                          It would be very helpful if we could update PowerShell to newest version through PS package manager or OS included script - with all dependencies and prerequisites checks.

                          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  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →

                            This is definitely something we’re thinking about and working towards. The question becomes whether it’s “good enough” to update all the built-in modules (like MS.PS.Utility or MS.PS.Management) via PowerShellGet or if we need to actually update PowerShell itself.

                            As we work on PowerShell Core on GitHub (https://github.com/powershell/powershell) we’re beginning to think about how more engine work might be abstracted into individual modules (which, again, could be updated async from the Gallery).

                            That being said, there also is probably some value in installing PowerShell Core all up via “Install-Package” or “Update-Package”. Given that PS Core is fully side-by-side enabled, you could slap down a new version of PowerShell Core next to the one from which you’re actually running PowerShell Core.

                            At the same time, updating Windows PowerShell (the Windows-only edition of PowerShell that sits on top of the full, .NET Framework) from within Windows PowerShell is significantly trickier…

                          • Double click highlight occurrences

                            Double clicked strings and integers should be clearly highlighted (like in Notepad++ or in VSCode) if there are multiple occurrences of the same word or number.

                            31 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

                              5 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                            • Allow for publishing Profile Paths with Spaces

                              when using publish module if a user has a space in their profile it fails to publish the module:
                              PS C:\> Publish-Module -Tags Twitter -Name Posh-Tweet -NuGetApiKey xxxxxxxx-xxxxx-xxxx-xxxx-xxxxxxxx -Verbose
                              VERBOSE: The specified assembly 'C:\Users\Carlos Perez\AppData\Local\PackageManagement\ProviderAssemblies\nuget-anycpu.exe' is installed at top level directory. However it is recommended that the assemblies should be installed under its ProviderName\Version folder.
                              VERBOSE: Skipping previously processed provider 'NuGet'.
                              VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
                              VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'False'; IsRegistered = 'True'.
                              VERBOSE: Publish Location:'https://www.powershellgallery.com/api/v2/package/'. …

                              6 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

                                investigating  ·  6 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                              • ISE hangs after using a Windows Forms dialog

                                Votes from Connect: 12

                                Original Date Submitted: 4/4/2015 8:50:49 AM

                                Description:
                                ********Contact Information********
                                Handle: Arnoud Jansveld
                                Site Name: PowerShell
                                Feedback ID: 1224213
                                ***************************************

                                Frequency: PowerShell ISE
                                Regression: function Show-Form
                                {
                                [reflection.assembly]::LoadWithPartialName("System.Windows.Forms") >$null
                                $form = New-Object System.Windows.Forms.Form
                                $label = New-Object System.Windows.Forms.Label
                                $label.Text = "Please close this form"
                                $label.AutoSize = $true
                                $form.Controls.Add($label)
                                $form.ShowDialog()
                                }

                                $result = Show-Form

                                # Workaround (slow):
                                # $result = Start-Job ${function:Show-Form} | Receive-Job -Wait -AutoRemoveJob

                                "Form result: " + $result.ToString()

                                Write-Warning "The following step may hang PowerShell ISE, save your work!"
                                Read-Host -Prompt "Hit Enter or Ctrl-C to abort"

                                # This generates a WM_SETTINGCHANGE broadcast message
                                [Environment]::SetEnvironmentVariable("foo", "bar",…

                                18 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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                • Custom cmdlet help is broken in 5.0+

                                  Custom cmdlet help gets custom help for a provider cmdlet in a provider drive. In 5.0, the provider help, including custom cmdlet help, was missing. It's restored in 5.1, but it's not working.

                                  Ugh, I can't post a screenshot.

                                  Here's the repro:

                                  1) Get-Help Get-ChildItem -Path Cert: -Parameter DnsName
                                  [Should succeed; fails]

                                  2) cd Cert:
                                  PS Cert:\> Get-Help Get-ChildItem -Parameter DnsName
                                  [Should succeed; fails]

                                  3. #Verify that parameter exists
                                  PS Cert:\> (gcm Get-ChildItem).ParameterSets.Parameters | where Name -eq DnsName
                                  [succeeds]

                                  4. #Verify that content is in help file.
                                  PS Cert:\> [xml]$SecHelp = cat $pshome\en-US\Microsoft.PowerShell.Commands.Security.dll-help.xml

                                  PS Cert:\>($SecHelp.helpItems.providerHelp.CmdletHelpPaths.CmdletHelpPath.command | where {$_.details.Name.Trim() -eq 'Get-ChildItem}).Parameters.Parameter…

                                  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

                                    investigating  ·  1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Help for DocumentEncryptionCert dynamic parameter is missing

                                    There is no help content for the Document EncryptionCert dynamic parameter of Get-ChildItem.

                                    Because this dynamic parameter is added by the Certificate provider, it should be documented in the <providerHelp>\<cmdletHelpPaths> section of Microsoft.PowerShell.Security.dll-help.xml.

                                    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

                                      investigating  ·  1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                                    • No StdOut output on console until second object

                                      Let me explain. I have a script that is collecting data, and I send it to StdOut by simply piping it into Select (but problem also happens if I add a ForEach loop and simply make [PSCustomObject] objects). Then my script loops to the next server. That output is not displaying on the screen. All is not lost though, when the script loops to the second server and displays both the first and second will now display. When the third server finishes it displays OK, as does the 4th.

                                      So it looks like it's just the first one. Normally 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

                                        3 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Get-Help should process Alias parameter attribute in MAML help

                                        A parameter definition in the PowerShell MAML file allows an aliases attribute to be defined. However, when executing Get-Help -Full or Get-Help -Parameter, the table the Help Engine displays does not contain the Aliases row. If I remove reference to the ExternalHelp comment tag in a Cmdlet (within a PSM1), Get-Help will display the Aliases row. Comment-based or MAML help will not display the Aliases row.

                                        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

                                          investigating  ·  1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Execute indepenent dsc steps in parallel

                                          Votes from Connect: 3

                                          Original Date Submitted: 6/8/2015 2:40:45 PM

                                          Description:
                                          ********Contact Information********
                                          Handle: aL3891
                                          Site Name: PowerShell
                                          Feedback ID: 1411231
                                          ***************************************

                                          Problem Description:
                                          At the moment all dsc resources are executed serially. given that dependencies are allready specified, it would in theory be safe to execute steps in parallel.

                                          I'm guessing this is planned at some point but i could really use a way to enable parallel execution because I'm using dsc to spin up test environments with a bunch of services and having those being set up in parallel would speed things up considerably.

                                          Product Studio item created…

                                          27 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

                                            investigating  ·  0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4
                                          • Don't see your idea?

                                          Feedback and Knowledge Base