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. 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!!

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

      53 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 →
      • new-modulemanifest doesn't support ExternalModuleDependencies

        In order to register external module dependencies (dependencies living in another repository), the name has to be registered in a string array property within the PSData Hashtable property in the PrivateData section in the psd1 manifest like so for registering module 'psFtp':

        PrivateData = @{
        PSData = @{
        # ExternalModuleDependencies
        ExternalModuleDependencies = @('psFtp')
        }
        } # End of PrivateData hashtable

        However, the new-modulemanifest doesn't have an -ExternalModuleDepencies parameter, nor is it possible to register externalmoduledependencies like so:

        -PrivateData @{ PSData = @{ ExternalModuleDependencies = @('psFtp') } }

        Which from a client perspective of the the existing new-modulemanifest api, would be…

        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

          0 comments  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →
        • Add support for TLS 1.2 (Invoke-WebRequest, Invoke-RestMethod)

          Invoke-WebRequest and Invoke-RestMethod commands only support TLS 1.0 protocol. We need to have a native support for newer TLS (1.2) versions for modern web interfaces.

          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

            2 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
          • Duplicate help files in PSWorkflow module break Get-Help

            At some point in the 5.0 time period, Update-Help installed About topic files in the en-US directory for the PSWorkflow module with .txt (not .help.txt) file name extensions.

            e.g. about_Foreach-Parallel.txt

            Later, this was fixed and Update-Help installed the same help files in the same directory with the (correct) ".help.txt" file name extension.

            e.g. about_Foreach-Parallel.help.txt

            Now, the PSWorkflow\en-US directory has 9 pairs of files that are identical except for the file name extension.

            about_ActivityCommonParameters.help.txt
            about_ActivityCommonParameters.txt
            about_Checkpoint-Workflow.help.txt
            about_Checkpoint-Workflow.txt
            about_Foreach-Parallel.help.txt
            about_Foreach-Parallel.txt
            about_InlineScript.help.txt
            about_InlineScript.txt
            about_Parallel.help.txt
            about_Parallel.txt
            about_Sequence.help.txt
            about_Sequence.txt
            about_Suspend-Workflow.help.txt
            about_Suspend-Workflow.txt
            about_WorkflowCommonParameters.help.txt
            about_WorkflowCommonParameters.txt
            about_Workflows.help.txt
            about_Workflows.txt

            Get-Help should ignore the .txt files (must have changed in…

            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

              survey  ·  0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
            • ConvertTo-Json doesn't serialize simple objects properly

              # Given a simple array which has been boxed in a PSObject
              [PSObject]$o = @(@(Foo,1),@(Bar,2))

              # Calling ConvertTo-Json returns a weird pointless wrapper around it:
              convertto-json $o
              {
              "value": [
              [
              "Foo",
              1
              ],
              [
              "Bar",
              2
              ]
              ],
              "Count": 2
              }

              # Which completely breaks round-trip support
              ConvertFrom-Json (Convertto-Json $o)

              value Count
              ----- -----
              {Foo 1, Bar 2} 2

              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

                survey  ·  14 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
              • Generate DSC from existing servers

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

                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  ·  1 comment  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                • Compress-Archive does not include hidden files/folders

                  Creating an Archive with Compress-Archive does not include hidden files of folders.

                  I would recommend to adapt the behavior of Windows internal compressed Zip functionality which is including hidden files by default.
                  Additional i would prefere a sidenote in the documentation of

                  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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                  • BUG: ScheduledTaskTrigger -RandomDelay does not work

                    New-ScheduledTaskTrigger -AtLogOn -RandomDelay 0:15:00; or
                    New-ScheduledTaskTrigger -AtLogOn -RandomDelay (new-Timespan -Minutes 15)
                    does not set the delay option. The checkbox in ScheduledTask Panel never gets set.
                    Windows 10.0.14393 x64 de-DE (German Installation)

                    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  ·  Microsoft.PowerShell.* Modules  ·  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…

                      36 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

                      • DSC registry resource support '/' in the registry path.

                        DSC registry resource support '/' in the registry path.

                        If you use a path containing a / e.g. "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 40/128" then the builtin registry resource you end up with an error or the wrong registry path being created.

                        This config will not work. I've have to create my own module to create the folder and then us the registry resource to create the actual key.

                        Registry "DisableCipherRC240128"
                        {
                        Key = "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Ciphers\RC2 40/128"
                        ValueName = "Enabled"
                        ValueType = "Dword"
                        ValueData = "0"
                        Ensure = "Present"
                        Force = $true
                        }

                        The register resource should support / in the path.

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

                          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

                            survey  ·  3 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →
                          • Allow splatting without an intermediate variable.

                            instead of
                            $splat = @{name = "value"}
                            verb-noun @splat

                            Allow verb-noun @{name = "value"}

                            This would make for a much cleaner and more natural look to parameters. Letting them be in the usual place of after and below the function.

                            There is a stackoverflow question relating to this, that should explain it more - http://stackoverflow.com/questions/35188172/why-do-i-need-to-splat-to-a-variable-first

                            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

                              14 comments  ·  PowerShell Engine  ·  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.

                            • Bug: Console output appears out of order

                              In 5.0, objects returned from a script will appear in the console only after the script has completely finished if no formatting data is defined for that object type.

                              Example:

                              Write-Warning "Before"
                              Get-Service E* | select Status, Name, DisplayName
                              Write-Warning "After"

                              Output:

                              WARNING: Before

                              WARNING: After
                              Status Name DisplayName
                              ------ ---- -----------
                              Stopped EapHost Extensible Authentication Protocol
                              Running EFS Encrypting File System (EFS)
                              Running eventlog Windows Event Log
                              Running EventSystem COM+ Event System

                              Details
                              - This did not happen before PowerShell 5.0
                              - This happens both in the PowerShell console and ISE
                              - The issue affects all objects that have…

                              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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                              • Support basic line wrapping in ISE Script Pane

                                All IDE's support line wrapping inside the editor, except Powershell ISE (even Notepad has it)! This is useful, for example, when using ISE in a virtual machine console session, where the screen is often smaller than your screens actual resolution.

                                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  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                • Add PowerShell tab and examples to .NET reference pages in MSDN

                                  Votes from Connect: 391

                                  Original Date Submitted: 5/21/2015 12:20:32 AM

                                  Description:
                                  ********Contact Information********
                                  Handle: June Blender
                                  Site Name: PowerShell
                                  Feedback ID: 1351032
                                  ***************************************

                                  Problem Description:
                                  PowerShell users often read .NET reference pages in MSDN. It's all but required, because Get-Help doesn't describe object members. However, in the Examples section of .NET reference pages, there are no PowerShell examples; not even a PowerShell tab.

                                  MSDN says they cannot demonstrate a demand for PowerShell examples. I'd like to use this feature request to demonstrate the demand.

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

                                  176 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

                                    21 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                                  • WMF5.1 - Get-ComputerInfo unable to find entry point GetFirmwareType

                                    Running the new Get-ComputerInfo returns the following error
                                    C:\> Get-ComputerInfo
                                    Get-ComputerInfo : Unable to find an entry point named 'GetFirmwareType' in DLL 'kernel32.dll'.

                                    This is on a XenDesktop VM hosted on VMWare, so I guess it's due to the desktop being virtualised. OS is Win7x64

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

                                        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.

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

                                        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

                                          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 :)

                                        • PowerShell ISE - Pane breakout for multi monitor use

                                          Votes from Connect: 23

                                          Original Date Submitted: 10/31/2011 9:54:18 PM

                                          Description:
                                          ********Contact Information********
                                          Handle: FuriouS76
                                          Site Name: PowerShell
                                          Feedback ID: 698161
                                          ***************************************

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

                                          Problem Description:
                                          I have tried many of the IDE/ISE options out there and prefer Windows ISE. The one feature I would like to see is the ability to undock or break out each pane across multiple monitors. This would allow users in multi-monitor setups to configure the ISE in an ideal setup that would allow faster coding / debugging.

                                          Thanks,
                                          Kirk Hammond.

                                          Product Studio item created by…

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

                                            This is a very difficult thing to implement, it could potentially break many of the add-ons, and could introduce some very confusing UI elements.

                                            That said, we’re interested to get more ideas from you for how something like this might work. Feel free to post your comments below.

                                            Thanks,
                                            Joey

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

                                          Feedback and Knowledge Base