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. DSC ESENT Database management

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

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

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

    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

      investigating  ·  5 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
    • [BUG] Cannot import both PSDesiredStateConfiguration in-box module and PSDscResources (gallery module) in the same configuration

      OS: Windows Server 2016 1607 (14393.1593)
      PSVersionTable:
      Name Value
      ---- -----
      PSVersion 5.1.14393.1532
      PSEdition Desktop
      PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
      BuildVersion 10.0.14393.1532
      CLRVersion 4.0.30319.42000
      WSManStackVersion 3.0
      PSRemotingProtocolVersion 2.3
      SerializationVersion 1.1.0.1

      PSDscResource module: v2.8.0.0

      Take a look at this configuration:
      Configuration DependentConfig
      {
      Import-DscResource -ModuleName PSDscResources -Name Registry

      Node MyNode01
      {

      File SetupScript
      {
      DestinationPath = 'C:\Scripts\hello.txt'
      Contents = 'somecommand'
      Type = 'File'
      Ensure = 'Present'
      DependsOn = '[Registry]regCheck'
      }

      Registry regCheck
      {
      Key = 'HKEY_LOCAL_MACHINE\SYSTEM\SomeKey'
      ValueName = 'SomeValue'
      ValueData = 0
      ValueType = 'DWord'
      Ensure = 'Present'
      }
      }
      }

      DependentConfig -OutputPath C:\DependentConfig

      This requires PSDscResources module version 2.8.0.0 from…

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

        We’ll send you updates on this idea

        investigating  ·  3 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
      • Add maintenance window awareness to DSC / LCM

        Votes from Connect: 17

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

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

        Problem Description:
        Suggestion one:

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

        Suggestion two:

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

        107 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 →
        • Out-GridView needs a -DisplayProperty parameter

          Votes from Connect: 42

          Original Date Submitted: 4/10/2015 11:19:28 PM

          Description:
          ********Contact Information********
          Handle: Trevor Sullivan [MVP]
          Site Name: PowerShell
          Feedback ID: 1238786
          ***************************************

          Problem Description:
          The Out-GridView command displays all of the properties of each object that is fed into it. Consequently, in order to make the tool more usable, the Select-Object command can be used to inclusively filter the key properties of each object, to display to the end user. Unfortunately, this process results in a modified object, that cannot be used for all intended purposes.

          Instead of using Select-Object, a -DisplayProperty parameter should be added to Out-GridView,…

          30 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 →
          • Allow LCM to accomodate module dependencies that get installed by earlier steps in the configuration

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

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

            16 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 →
            • Execute indepenent dsc steps in parallel

              Votes from Connect: 3

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

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

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

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

              Product Studio item created…

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

                We’ll send you updates on this idea

                investigating  ·  1 comment  ·  Desired State Configuration (DSC)  ·  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 →
                • 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 →
                  • WMF 5.1 breaks class registrations for the ConfigMgr client agent

                    I've localized this issue to WMF 5.1 on Windows 7. With this installed, the WMI namespace: root\ccm\policy\defaultmacine\requestedconfig becomes invalid. This is important because in In-Place upgrade scenarios from Windows 7 to Windows 10, the task sequence agent cannot resume the task sequence without being able to read this namespace. I know this is a combination of WMF and ConfigurationManager so I will post there as well.

                    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  ·  WMI  ·  Flag idea as inappropriate…  ·  Admin →
                    • Bug: DSC Decryption across Servers not Working

                      On 2 Fully Updated Windows Server 2016 Machines running and provisioned from Azure I have created a Pull Server Configuration. I have created the DSC Signing Certificate using a custom template on a Enterprise Root CA which has worked for 2012R2 nodes and also tested using xDSCUtils New-xSelfSignedDscEncryptionCertificate. Using the same Certificate to Compile and Execute the MOF on the same Computer works, it is only if you compile on one and execute on another that the problems arise.
                      I kept getting errors when passing in credentials. I therefore wrote a tiny custom DSC Resource that Displays the Password as…

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

                        We’ll send you updates on this idea

                        investigating  ·  0 comments  ·  Desired State Configuration (DSC)  ·  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 →
                        • ISE hangs after using a Windows Forms dialog

                          Votes from Connect: 12

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

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

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

                          $result = Show-Form

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

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

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

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

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

                            We’ll send you updates on this idea

                            3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                          • Add a favicon to the gallery

                            The poor PS gallery tab and bookmark look so sad and grey... :,-(

                            https://imgur.com/GwfMpzd

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

                              We’ll send you updates on this idea

                              investigating  ·  1 comment  ·  PowerShell Gallery  ·  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 →
                              • Double click highlight occurrences

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

                                41 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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                                • Please add Management Framework v4 to the Update Catalog website

                                  Management Framework v5 is already available on the Update Catalog website and can be manually imported into a private WSUS instance for distribution (via WSUS or SCCM.) But v5 requires WMF v4 to be installed first.

                                  If WMF v4 was available in the Update Catalog then it could be imported into our private WSUS instance - and then we could deploy the WMF v4 as a prereq in the same reliable manner that we will be deploying WMF v5 to enterprise workstations.

                                  Please add WMF v4 to the Update Catalog website.

                                  8 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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Wrong output in CIM cmdlets like Get-SmbShareAccess, Enable-NetAdapterChecksumOffload, etc.

                                    (Originally posted in https://connect.microsoft.com/PowerShell/feedback/details/1852524)

                                    Standard CIM cmdlets can produce invalid output. I reproduced the problem with
                                    two commands — Get-SmbShareAccess and Enable-NetAdapterChecksumOffload.
                                    I also believe that the problem is not limited to these particular commands.

                                    Below is an example of me executing 'Get-SmbShareAccess C$, D$' twice. Please
                                    note that the first output is incorrect and it shows 6 entries for C$, instead
                                    of expected 3 entries for C$ and 3 entries for D$:

                                    PS C:\> Get-SmbShareAccess C$, D$

                                    Name ScopeName AccountName AccessControlType AccessRight
                                    ---- --------- ----------- ----------------- -----------
                                    C$ * BUILTIN\Administrators Allow Full
                                    C$ * BUILTIN\Administrators Allow Full
                                    C$…

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

                                      We’ll send you updates on this idea

                                      0 comments  ·  WMI  ·  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 →
                                      • Message Cannot unprotect message. The input contained no encrypted content

                                        When upgrading to WMF 5.1, we are seeing errors in the DSC event log on servers that use a configuration with encrypted content (passwords). We are using encrypted credentials to create application pools and assign a service account as the identity. The data gets decrypted fine and the app pools get created with the correct identities. However the following error gets logged in the DSC event log every time a consistency check runs:

                                        Job :
                                        Message Cannot unprotect message. The input contained no encrypted content. Specify the '-IncludeContext' parameter if you wish to output the original content when no encrypted…

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

                                          We’ll send you updates on this idea

                                          investigating  ·  0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Creators update: stop-computer : Privilege not held

                                          I ran into this one, after I noticed my newly patched workstation was still turned on in the morning even though I had explicitly requested it to shutdown at a certain time. Basically the repro steps are as follows:

                                          > Open Non-Administrative Shell
                                          > Stop-Computer
                                          Output:
                                          stop-computer : Privilege not held.
                                          At line:1 char:1
                                          + stop-computer
                                          + ~~~~~~~~~~~~~
                                          + CategoryInfo : InvalidOperation: (***:String) [Stop-Computer], ManagementException
                                          + FullyQualifiedErrorId : StopComputerException,Microsoft.PowerShell.Commands.StopComputerCommand

                                          Administrative shell works as expected, this specific workstation has never participated in any fast/slow ring builds. Windows version is 15063.138

                                          Another Windows 10 system, fast ring, that is on build 15063.14…

                                          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

                                            1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →

                                            FYI, we’re aware of this problem and are currently investigating it.

                                            Other threads here that we’re aware of:

                                            I THINK we understand the problem, but I can’t offer an ETA on a fix right now, unfortunately.

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

                                          Feedback and Knowledge Base