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. JEA is not correctly showing VisibleAliases

    Aliases exported from imported module are not shown if role capabilities file contains VisibleAliases="*"
    Module
    <PRE>
    function Test
    {
    [Alias("TestAlias")]
    param()
    Write-Output 1
    }

    Export-ModuleMember -Function Test -Alias TestAlias</PRE>

    Without VisibleAliases set in RoleCapabilites file TestAlias is visible tested with Get-PsSessionCapability cmdlet but if VisibleAliases="*" appears in rolecapabilites file then TestAlias is not imported

    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  ·  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
    • Officially release more DSC Resources

      We only have around 12 officially released DSC resources. I had expected PowerShell V5 would include more officially supported resources, but it was not to be. Please releae them, preferably via Windows Update.

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

        We’ll send you updates on this idea

        6 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
      • KB3000850

        KB3000850 is not part of the Azure SQL 2014 image, and takes over an hour to install (often timing out) before DSC Extension can run. When update fails to install, causes DSC to fail as well. Easy to reproduce - configure VM image based on SQL 2014 and install DSC using templates.

        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 →
        • Multiple ConfigurationNames Results In Failure During Pull

          When multiple configurations names are specified in LCM configuration the pull fails get obtain any configuration.

          LCM Config Example

          ConfigurationRepositoryWeb HillIntl-Pull
          {
          ServerURL = "http://server1:8080/PSDSCPullServer.svc";
          AllowUnsecureConnection = $true;
          RegistrationKey = "aaaa333-6c83-4636-a0cb-39b88a968849";
          ConfigurationNames = @('BaseConfig','WebServer');
          }

          Resulting errors

          Job {C7312E94-D405-11E5-80B5-00155D086627} :
          Message UpdateMetaConfig is not a valid value for GetActionResponse.
          HResult -2146233087
          StackTrack at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
          at System.Management.Automation.Runspaces.LocalPipeline.InvokeHelper()
          at System.Management.Automation.Runspaces.LocalPipeline.InvokeThreadProc()

          Job {C7312E94-D405-11E5-80B5-00155D086627} :
          This event indicates that failure happens when LCM is trying to get the configuration from pull server using download manager NULL. ErrorId is 0x1. ErrorDetail is A generic exception occurred during the…

          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

            7 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →

            Thanks for the feedback Daniel. We are looking into the issue and will either get back to you with any follow-up questions or create a bug and fix the issue.

            Thanks for helping make DSC better!!
            MarkG

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

            108 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 →
            • Option to disable scroll-to-prompt on left mouse click in ISE console window.

              In PowerShell v3 there was a "feature" added, that moved cursor/ scrolled down to prompt whenever console window gets focus. It makes selecting text in output from previous commands a real nightmare.

              I would love to get rid off this "feature", or if not possible - at least have an option to turn it off. If possible, make it a default behavior.

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

                We’ll send you updates on this idea

                4 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
              • Find in ISE needs to be able to wrap rather than stopping when it reaches the end of the file

                Find in ISE starts from the cursor position and stops at the end of the file. This is extremely annoying behavior since to perform a full file search you need to move the cursor to the beginning of the file before beginning "Find".

                Find needs the ability to find within an entire file from anywhere the search is started -- just like notepad++, notepad2, and any other modern text editor.

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

                  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

                    1 comment  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                  • WMF 5 Update

                    I am trying to install "Win8.1AndW2K12R2-KB3134758-x64.msu" onto a Windows 8.1 x64 Enterprise, WMF 4.0 .Net4.5 and latest security patches. from March 2016.

                    Each time I run the update I get an error saying 'Update is not applicable to this computer'

                    Any help would be much appreciated.

                    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

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

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

                        We’ll send you updates on this idea

                        4 comments  ·  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…

                        74 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 →
                        • Bug in ISE Preview 5.1.1

                          Hi Folks,

                          I'm running ISE Preview 5.1.1 downloaded from the PowerShell Gallery. When I hit the 'Show Command Window' button in the menu bar (or type show-command) I get this error.

                          PS Library:\> show-command
                          show-command : [A]System.Collections.Generic.List`1[Microsoft.PowerShell.Commands.ShowCommandExtension.ShowCommandCommandInfo]
                          cannot be cast to [B]System.Collections.Generic.List`1[Microsoft.PowerShell.Commands.ShowCommandExtension.ShowCommandCommandInfo].
                          Type A originates from 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at
                          location 'C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Type B originates from
                          'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location
                          'C:\Windows\Microsoft.Net\assembly\GAC_64\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'.
                          At line:1 char:1
                          + show-command
                          + ~~~~~~~~~~~~
                          + CategoryInfo : NotSpecified: (:) [Show-Command], InvalidCastException
                          + FullyQualifiedErrorId : System.InvalidCastException,Microsoft.PowerShell.Commands.ShowCommandCommand

                          I'm running PowerShell 5.0.10586.122.

                          The menu button/show-command cmdlet works on…

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

                            We’ll send you updates on this idea

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

                            56 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 →
                            • Error in About_WorkflowCommonParameters

                              In the About_WorkFlowCommonParameters, there is an error in the example describing the -PSParameterCollection, The example reads:
                              -PSParameterCollection @{
                              PSComputerName="Server01"; PSElapsedTimeoutSec=10;
                              PSConnectionRetryCount=6},
                              @{PSComputerName="*"; PSElapsedTimeoutSec=20}

                              In the second hash table, the example has '*' for the computer name. This is wrong - it needs a real computer name or PowerShell Gives and error.

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

                                We’ll send you updates on this idea

                                0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                              • InformationAction and InformationVariable show up as regular (not common) parameters in help documentation

                                The InformationAction and InformationVariable common parameters are all messed up in the docs.

                                For example, if you run:

                                Get-Help Get-Service -Parameter InformationAction # or InformationVariable

                                You get documentation for the ComputerName parameter.

                                If you run:

                                Get-Help Get-Service

                                the syntax section shows the possible values for InformationAction, yet the syntax section in this command does not:

                                Get-Help Add-AzureRmAccount

                                And seriously, we don't need command syntax sections more cluttered up than they already are, nor do we need documentation for these parameters to be messed up by leaving that documentation up to each individual command. These should simply be documented in about_commonparameters,…

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

                                  We’ll send you updates on this idea

                                  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →

                                  Thanks for the suggestion. This has been filed as a doc bug.

                                  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.

                                • Bug: WMF5 install fails on Windows 7

                                  I get this error in Event Viewer:
                                  Windows update "Update for Windows (KB3134760)" could not be installed because of error 2148204800 "No signature was present in the subject."

                                  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  ·  Other PowerShell  ·  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

                                    52 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 →
                                    • Register-PSRepository fails against authenticated endpoints

                                      In PowerShellGet 1.0 you could add and use an authenticated endpoint. In 1.0.0.1 the Ping-Endpoint function gets a 401 against authenticated endpoints. This prevents internal authenticated repos from being added.

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

                                        We’ll send you updates on this idea

                                        1 comment  ·  Package Management  ·  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 →
                                        • If module version is not specified, composite configurations fail to load

                                          BUG
                                          Version occurs in: WMF5 Production Preview
                                          Previous versions? No.

                                          In a composite configuration scenario, if one of the composite resources contains an import-dscresource statement, and multiple versions of the module are available, the resource fails to load unless a moduleversion is specified.

                                          The resource works fine if there is only one version available on the machine in question, or a minimum version is specified.

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

                                            We’ll send you updates on this idea

                                            2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →

                                            Justin,

                                            This behavior is common to all DSC resources, if I understand your issue correctly. If there are multiple versions of a module installed on your authoring system, you must specify the version that you intend to use in your configuration.

                                            What behavior are you expecting?

                                            MarkG

                                          • Don't see your idea?

                                          Feedback and Knowledge Base