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. allow DSC nodes to download meta configuration

    when wmf4 initially launched, you could place meta.mof files into the pull server along side the default mof and both would be downloaded by the node and applied. This was rather ideal, as it meant I could create standard LCM configurations, and easily update/enforce them.

    For some reason, this seems to no longer work in WMF5.0. This should be returned. Anyone who's had to edit the settings of hundreds (thousands?) of agents should understand it's way easier to tweak one property.

    Real world example: ask anyone who's ever had to reconfigure the the SCCM agent cache. It's a needlessly complex…

    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

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

      Justin,

      Thanks for you feedback! I What types of things do you find yourself needing to manage in the meta-config after initial deployment? This is not to take away from the need for this, I want to better understand how you and other customers are / want to use it.

      Regards,

      MarkG

    • Add a PowerShell module to manage Windows Updates

      Add a PowerShell module to manage Windows Updates like you can now with the GUI. Like checking for updates, installing all updates, or a selection of updates, creating a report of pending updates, etc. The Windows Update options in the Server Configuration Manager (sconfig) are very limited.

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

        We don’t own the creation of modules for operating system features. I’ll mark this as Survey so we can provide this information to the WU team, but you might also want to consider filing this in the Windows 10 Feedback Hub. Also, see the community-created PSWindowsUpdate link below :)

      • Bug in Show-Command

        Scriptblock parameters are interpreted as a [bool] value and is shown as a listbox with values $true or $false

        Code to reproduce:

        Show-Command -Name Invoke-Command

        Scriptblock parameter is shown as a [bool] listbox

        Cheers

        Tore

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

          We’ll send you updates on this idea

          survey  ·  1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
        • Returning information from DSC Resource to another

          I know this has been discussed, just wanted to make sure to have it in UserVoice. It would be great if it was possible to return information from a resources, so that a later resource could use that information for configuration at runtime.

          Example. My configuration apply a new certificate. I would like to write a resource that can get the new certificate thumbprint so that a future resources in the config can use that thumbprint. This is something that Chef allows.

          So, something like a global variable that lives during runtime of the config.

          Thanks for considering!!

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

            We’ll send you updates on this idea

            survey  ·  4 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
          • DSC: Should allow Credentials with Blank Passwords, so you can use GMSA accounts

            For some reason DSC errors out with a credential object contains a null password. Unfortunately that is the mechanism use to set group managed service accounts.
            Here is a link to a relevant bug in xWebAdministration: https://github.com/PowerShell/xWebAdministration/issues/80#issuecomment-171364644

            And here is an example of the output your recieve when you attempt to use a managed service account:

            "VERBOSE: [COMPUTERNAME]: LCM: [ End Test ] [[xWebAppPool]testpool] in 0.0070 seconds.
            The password supplied to the Desired State Configuration resource MSFT_xWebAppPool is not valid. The password cannot be null or empty.
            + CategoryInfo : InvalidResult: (:) [], CimException
            + FullyQualifiedErrorId : InvalidPassword
            + PSComputerName…

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

              Thanks for the feedback! I have personally heard this request from a number of customers. IMHO having the ability to use GMS accounts would be a quite useful in DSC configurations. If this is an important feature for you as well, vote it up so that we can appropriately prioritize it as we move forward.

              MarkG

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

              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

                survey  ·  3 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
              • $MyInvocation.ExpectingInput doesn't work in DynamicParam blocks

                PowerShell always evaluates $MyInvocation.ExpectingInput to $false in the DynamicParam block:

                function test([Parameter(ValueFromPipeline)]$Dummy) {
                dynamicparam { $r = @(); $r += $MyInvocation.ExpectingInput }
                begin { $r += $MyInvocation.ExpectingInput }
                process { $r += $MyInvocation.ExpectingInput }
                end { $r += $MyInvocation.ExpectingInput; $r -join ' ' }
                }

                1 | test
                # False True True True
                #
                # this should be:
                #
                # True True True True

                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

                  survey  ·  1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                • Badges for PowerShell Gallery counts to be used on a GitHub page

                  GitHub and npm have badges that can be placed on your repo or elsewhere that can display stats about aspects of your project.

                  It'd be great to be able to put a badge on a repo showing stats about the published item to PowerShell Gallery, like, number of downloads.

                  9 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 Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                  • Make Cmdlets pick up app.config, especially binding redirects

                    I can't believe this hasn't been resolved already.

                    Surely adding assemblies to the GAC and mofiying machine.config is not a great solution.

                    http://stackoverflow.com/questions/18542812/powershell-cmdlet-missing-assembly-google-api

                    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

                      survey  ·  0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                    • Provide a simply way to filter results to items owned by Microsoft.

                      Provide a simply way to filter results to items owned by Microsoft. Some companies only allow official Microsoft tools and scripts to be used.

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

                        We’ll send you updates on this idea

                        0 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                      • Cmdlet for getting list of Installed Software via Registry instead of win32_product.

                        Would be great to have a builtin Cmdlet for getting list of Installed Software via Registry instead of win32_product.

                        Why win32_product is bad:
                        https://sdmsoftware.com/group-policy-blog/wmi/why-win32_product-is-bad-news/

                        It would be faster, and would not trigger validation of all installed packages.

                        Would use the following regkeys to return list of software (name, version, installDate) on local or remote machine (requires Remote Registry to be enabled on remote machine).

                        HKLM:\Software\microsoft\windows\currentVersion\Uninstall
                        HKLM:\Software\wow6432node\microsoft\windows\currentVersion\Uninstall

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

                          We’ll send you updates on this idea

                          1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                        • Node with large configurations fails to send status report to the Report Server

                          Testing out WMF 5.0 and when I tried one of our existing configurations, which has a good amount of resources in it, the following error is logged in the event log after each consistency check:

                          Job {%JobID%} :
                          Http Client {%AgentID%} failed for WebReportManager for configuration The attempt to send status report to the server https://johntestx02/PSDSCPullServer.svc/Nodes(AgentId={%AgentID%}')/SendReport returned unexpected response code RequestEntityTooLarge..

                          I assume this is because of the amount of resources the node is trying to report on back to the report server. Has anyone else run into this? Can the Report Server configuration be adjusted to accept lager amounts…

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

                            We’ll send you updates on this idea

                            survey  ·  3 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                          • OpenSource the Pull Server

                            Advances to the current PullServer are, quite frankly, slow and moving in a direction questionable to most MVPs. Microsoft should follow their own lead they took with the DSC modules: opensource it and place it on GitHub so that the community can invest in making a tool that we'd actually like to use.

                            Example of features still missing that everyone wants:
                            1. certificate management (use self-signed or pki)
                            2. web interface for compliance reporting

                            Example of features added that are questionable/actually bad ideas:
                            1. partial configurations (multiple pull server sources, mofs, and reports all being _managed_ by the node? who…

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

                              Justin,

                              We totally understand that a robust Pull server / central management solution is something that is critical to your success with DSC. We have invested quite heavily in Azure Automation DSC (AA DSC) to fill many of these needs. With that said, I would be very interested to understand if the AA DSC solution does not work for you (and other customers) and why? Vote and comment if this is important to you.

                              Also interesting feedback on our ‘bad ideas’. Thanks!

                              MarkG

                            • Register-PSRepository needs a -Force parameter and/or GroupPolicy Administrative Template

                              I have created an internal NuGet Gallery to act as a module repository for internal modules and am trying to automate the registration of it as a trusted internal repository for all users in my organisation that use Windows Powershell and/or perhaps are starting to use DSC.

                              As all of the users in my organisation who use Powershell are in an AD group, I went looking for a Group Policy setting to register the internal repsitory. There isn't one, so I created a GPO and set it to run the following script, in the user context at login.

                              #Requires -version…

                              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

                                survey  ·  3 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                              • Why can't Acrobat save these PowerShell articles?

                                I've tried several ways to capture the PowerShell documentation into a single PDF file which I find much more convenient instead of clicking around a Microsoft site. Acrobat just locks up. I've never seen it behave this way before.

                                It places PowerShell out of reach for those of us trying to learn new tools.

                                Please try it yourself. Acrobat XI Pro.
                                - Use the browser plugin "create PDF from webpage"
                                - Or start with Acrobat "create PDF"
                                - Or Browser / Save as html complete

                                Print to PDF is inadequate because webpage links are missing and on the PowerShell pages,…

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

                                    2 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →

                                    Would be interested in understanding the scenario where you are using the cmdlet & specifying the reason for rebooting. To explain: our previous assumption was that users would EITHER use the server UI that captured this information, OR use the cmdlet (often so they didn’t need to supply that reason text).
                                    So, what would help is to understand in what situations the cmdlet is being used and specifying the reboot explanation is desirable.

                                  • github integration for ISE

                                    this may be something that MS is hoping an add-on fixes down the road, but I'd just like to voice that it would be awesome to be able to sync/create/merge branches directly with github from within ISE. Even as an infrastructure admin things would move so much smoother if I didn't have to "tool hop".

                                    44 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 →
                                    • BUG: Show-Command - Additional ^M displayed at the end of the command when you select the RUN button on Windows Server 2016 TP5.

                                      Using RUN button from the Show-Command prompt for New-NanoServerImage command parameters input will generate and load the entire command syntax into the PowerShell console with an additional ^M characters at the end of the command syntax and has to manually backspace to delete the ^M characters prior to hitting ENTER return on the PowerShell console.

                                      This need to be fixed on Show-Command to exclude the ^M characters when selecting the RUN button.

                                      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

                                        survey  ·  2 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                      • [BUG] Group-Object with -AsHashTable and custom expressions

                                        There seems to be a bug in Group-Object when using the -AsHashTable switch and where any custom expression that returns a string is used. The hashtable is created, can be enumerated, but trying to get an entry from it using the indexer doesn't work. This seems to be the case exclusively when the expression returns a string.

                                        Consider the following:

                                        PS C:\Windows> $Items = Get-ChildItem | Group-Object -Property Extension -AsHashTable
                                        PS C:\Windows> $Items

                                        Name Value
                                        ---- -----
                                        .DMP {MEMORY.DMP}
                                        .bin {mib.bin}
                                        .xml {Enterprise.xml, Starter.xml}
                                        .NET {Microsoft.NET}
                                        .INI {HPMProp.INI, init.ini, msdfmap.ini, SMSCFG.INI...}
                                        .dat {bootstat.dat, ConnectionProfiles.dat}
                                        .dll {ISMIF32.dll, twain.dll, twain_32.dll}
                                        .exe {bfsvc.exe,…

                                        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

                                          survey  ·  4 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Change from edb file to SQL Server database for Desired State Configuration Pull services

                                          Votes from Connect: 6

                                          Original Date Submitted: 4/25/2015 5:54:58 AM

                                          Description:
                                          ********Contact Information********
                                          Handle: Ihadadream
                                          Site Name: PowerShell
                                          Feedback ID: 1275973
                                          ***************************************

                                          Problem Description:
                                          If Pull services databases change to SQL Server, we could have high availability and build a real pull infrastructure. It also brings possibility to have tierce applications that read datas and build reports using SSRS, etc.

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

                                          Repro Steps:

                                          Internal BugId: 14408

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

                                            This is something that we are looking into. For the time being and for folks who are able to connect servers to the Cloud, Azure Automation DSC is a full DSC Pull Server that provides a lot of benefits including the scalability that SQL would provide.

                                            If AA DSC cannot work for you / your organization please provide feedback here and vote to help us understand and prioritize our work going forward.

                                            Thanks for helping make DSC Great!!
                                            MarkG

                                          ← Previous 1 3 4 5 9 10
                                          • Don't see your idea?

                                          Feedback and Knowledge Base