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

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

      We’ll send you updates on this idea

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

    • Collapsed region in dark mode is hardly visible

      When using the dark theme in ISE, a collapsed region is hardly visible because the font color is black and the background darkblue. There is no way the set the colors for a collapse region in the theme editor.

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

        We’ll send you updates on this idea

        survey  ·  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
      • 19 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

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

        • Bring the Azure Automation DSC MOF encryption into the on-premises DSC pull server

          In Azure Automation DSC the whole MOF file gets encrypted without the need to manually issue certificates for every node and then to collect the public keys.

          From Azure documentation:
          "Keeping credentials secure in node configurations (MOF configuration documents) requires encrypting the credentials in the node configuration MOF file. Azure Automation takes this one step further and encrypts the entire MOF file."

          This extremely useful feature sould also be implemented in the on-premises DSC pull server. Especially because the needed functionality must alread be in the WMF 5 as nothing more than WMF 5 is needed to use the Azure…

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

            We’ll send you updates on this idea

            survey  ·  0 comments  ·  Desired State Configuration (DSC)  ·  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…

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

              We’ll send you updates on this idea

              survey  ·  2 comments  ·  Documentation  ·  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…

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

                We’ll send you updates on this idea

                6 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                survey  ·  Mark Gray responded

                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

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

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

                  We’ll send you updates on this idea

                  6 comments  ·  Microsoft.PowerShell.* Modules  ·  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)

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

                    We’ll send you updates on this idea

                    22 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

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

                      We’ll send you updates on this idea

                      survey  ·  14 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                    • Invoke-WebRequest returned object hangs when accessing Links property

                      OS: Windows 7 - 10

                      Name : ConsoleHost
                      Version : 5.0.10586.117
                      InstanceId : 078d4e23-84fd-433c-a831-37bb0935166e
                      UI : System.Management.Automation.Internal.Host.InternalHostUserInterface
                      CurrentCulture : en-US
                      CurrentUICulture : en-US
                      PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
                      DebuggerEnabled : True
                      IsRunspacePushed : False
                      Runspace : System.Management.Automation.Runspaces.LocalRunspace

                      ---

                      Not working example:

                      $releases = 'https://github.com/hluk/CopyQ/releases';
                      $download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing
                      $download_page.links # <-- hangs here

                      Other properties seem to work normally.

                      ---

                      This example uses basic parsing and works without out. However, the behavior doesn't generally depend on this setting and I had sites that hang on many occasions.

                      The following issues seems related:

                      https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/11088744-invoke-webrequest-hangs-in-some-cases-unless-use
                      https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/11515881-invoke-webrequest-hangs-freeze-at-many-websites

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

                        We’ll send you updates on this idea

                        survey  ·  4 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                      • Create a SendTo-SysLog cmdlet and include it by default

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

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

                        Thanks!

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

                          We’ll send you updates on this idea

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

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

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

                            We’ll send you updates on this idea

                            survey  ·  1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                          • BUG: new-localuser fails to allow connection to Microsoft account

                            The New-LocalUser cmdlet available in Windows 10 Anniversary Update cannot perform a function described in the documentation.

                            Local user accounts may be connected with existing Microsoft accounts. New-LocalUser should support this by accepting a -Name parameter of the form "MicrosoftAccount\<user>@outlook.com". This is described in the detailed help.

                            However this fails because the parameter fails validation as it is over 20 characters in length (already true with "MicrosoftAccount\" and "@outlook.com" let alone the "actual" user name). The 20 character limit is valid for a regular local account name, but shouldn't be valid for an MS account name.

                            There appears no other…

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

                              We’ll send you updates on this idea

                              survey  ·  2 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
                            • Enable service restart and similar scenarios in DSC configurations

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

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

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

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

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

                                We’ll send you updates on this idea

                                3 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                              • Invoke-DSCResource on WindowsFeatureSet fails

                                As subject says. Example is below

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

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

                                  We’ll send you updates on this idea

                                  4 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                  survey  ·  Mark Gray responded

                                  Thanks for the feedback! Based on its current ranking compared to other feedback items and product schedule, work on this item is pending (and will be driven by) further customer input. If you did not open this issue and are also impacted by it, please vote this item up.

                                  MarkG

                                • The -ToSession parameter for copy-item should accept multiple sessions

                                  The Copy-Item cmdlet now supports copying to a remote session. I typically work against a farm of servers and do something like
                                  $s = new-pssession server1, server2, server3.
                                  I want to be able to do copy c:\file.txt -tosession $s -destination c:\file.txt.

                                  Right now, I get an error saying cannot convert an array of objects to a System.Management.Automation.Runspaces.PSSession object. I had to copy the file 3 different times to each session.

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

                                    We’ll send you updates on this idea

                                    1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →

                                    Thank you for your input. Based on its current ranking compared to other feedback items and product schedule, work on this item is pending (and will be driven by) further customer input. If you did not open this issue and are also impacted by it, please vote this item up.

                                  • new parameter -markdown for Format-Table

                                    Example:

                                    $Get-Process | select -First 5 | ft -au

                                    Handles NPM(K) PM(K) WS(K) VM(M) CPU(s) Id ProcessName
                                    ------- ------ ----- ----- ----- ------ -- -----------
                                    716 47 32832 43396 587 1764 AdminManagerClient
                                    257 34 3432 9352 84 1128 AgentService
                                    495 78 15700 28528 154 3744 AppVClient
                                    244 35 60952 41796 692 0.56 5416 AppVStreamingUX
                                    591 18 17280 22992 108 1,751.98 4672 audiodg

                                    $Get-Process | select -First 5 | ft -markdown

                                    |Handles|NPM(K)|PM(K)|WS(K)|VM(M)| CPU(s)| Id|ProcessName |
                                    |-------|------|-----|-----|-----|--------|----|------------------|
                                    | 716| 47|32832|43396| 587| |1764|AdminManagerClient|
                                    | 257| 34| 3432| 9352| 84| |1128|AgentService |
                                    | 495| 78|15700|28528| 154| |3744|AppVClient |
                                    | 244| 35|60952|41796| 692| 0.56|5416|AppVStreamingUX | …

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

                                      We’ll send you updates on this idea

                                      survey  ·  1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                    • [Bug] Creating Local Users Fails Test-DSCConfiguration if the Users are Disabled

                                      I can successfully create a disabled local user account on a non-domain joined server which has a password policy enforced.

                                      If I try to create the disabled account with out a password, or one in violation of the policy, the configuration fails. This is expected.

                                      If I create a disabled local user account with a password that meets the requirements, the configuration applies. When I run Test-DSCConfiguration the test fails with:
                                      PowerShell DSC resource MSFT_UserResource failed to execute Test-TargetResource functionality with error message:
                                      There could be a possible connection error while trying to use the System.DirectoryServices API's.Exception calling
                                      "ValidateCredentials" with…

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

                                        We’ll send you updates on this idea

                                        1 comment  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                        survey  ·  Mark Gray responded

                                        Phil,

                                        Sounds like a valid bug. Thanks for bringing it to our attention. I have opened a bug in our internal system to track this to resolution.

                                        MarkG

                                      • Pure Pain: Preinstalled PS Modules - Please Rationalize Them with Package Management Installs

                                        I am trying to update Pester on Windows 2016 to 4.x because the preshipped Pester 3.4.0 emits a note about the depreciation of the -quiet switch when I use the quiet switch. This get's scooped into stdout when executing via AWS SSM remote commands. Version 3.x complains it does not understand "-Show None".

                                        I want to update to 4.x - in which I ran into all the problems documented here: https://github.com/OneGet/oneget/issues/215

                                        But ended up with "Install-module pester -force -SkipPublisherCheck.

                                        So far so bad, but when I go to remove the 3.4.0 version (with admin rights) from: 'c:\program files\windowspowershell\modules\pester\3.4.0' I get…

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

                                          We’ll send you updates on this idea

                                          5 comments  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →

                                          The issues you have encountered can be frustrating, sorry that is the case for you.

                                          Moving this to Survey to try to gauge the scope of the problem for users generally.

                                          We are somewhat limited by security requirements: what ships with Windows will always be tagged so that nothing can replace it easily unless it is signed by Microsoft. While Pester is part of Windows, it is not owned or developed by Microsoft, so updates delivered via the Gallery cannot be Microsoft signed.

                                          Once the Gallery version is installed on a system, -SkipPublisherCheck is no longer required for future updates. That first experience, however, is bad.

                                          This leaves us with a dilemma: do we stop shipping Pester in with PowerShell in the future, or do we continue to provide the feature set knowing users who update from the Gallery will encounter these issues?

                                          Looking for feedback from as many users…

                                        • Drop Uservoice and open a GitHub repo for tracking issues

                                          Seriously. How is this any good for tracking issues? You "upvote" an issue? Cmon.

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

                                            We’ll send you updates on this idea

                                            0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 9 10
                                          • Don't see your idea?

                                          Feedback and Knowledge Base