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. Bug: JEA .psrc capabilities file selected from the wrong RoleCapabilities module folder

    With PSVersion 5.0.10586.63 on Windows 10 and Server 2016 TP4, when using Register-PSSessionConfiguration to create a new session endpoint using a .pssc file, and that .pssc file uses RoleDefinitions for the sake of Just Enough Admin (JEA), the wrong .psrc file from the wrong RoleCapabilities folder may be selected.

    It appears that, when registering the endpoint, the $env:PSModulePath folders are searched in alphabetical order for any module folder, no matter what the name, that happens to have a subdirectory named RoleCapabilities within it, and, when found, if a correctly-named .psrc JEA capabilities file is found, that .psrc file is used…

    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

      3 comments  ·  Other PowerShell  ·  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 →
      • [System.ServiceProcess.ServiceController] should add StartType to its formatting

        Get-Service | Format-List
        Get-Service | Format-Table

        should display the "StartType" column, i.e. "StartType" should appear in "System.ServiceProcess.ServiceController" <TableControl> and <ListControl> in DotNetTypes.format.ps1xml.

        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  ·  Microsoft.PowerShell.* Modules  ·  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 →
          • Move ISE add-ons to Powershellgallery

            ISE links currently to the ""Add-on Tools Website (http://social.technet.microsoft.com/wiki/contents/articles/2969.windows-powershell-ise-add-on-tools.aspx).

            Automated installation with a PSRepository (like Powershellgallery) would be nice.

            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

              0 comments  ·  ISE and tooling  ·  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 →
              • Bug: PSWA 5.0 ignores Set-Location in profile script

                I had previously setup PSWA 4.0 that executed a profile.ps1 script at logon to resize the console, add snapins, and drop the user into a UNC network location where the scripts are contained. I upgraded to PS 5.0 on Friday and now when users login, all elements of the script work EXCEPT Set-Location. I have tried to cd to a local path instead of UNC, which also did not work. There are no errors or warnings. If I execute the startup script after I am already logged in to the PSWA, it executes properly and changes to the UNC path.…

                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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                • #region / #endregion code folding tokens in ISE should not be case sensitive

                  Votes from Connect: 17

                  Original Date Submitted: 5/23/2012 8:29:13 PM

                  Description:
                  ********Contact Information********
                  Handle: HalR
                  Site Name: PowerShell
                  Feedback ID: 743272
                  ***************************************

                  Frequency: Always Happens
                  Regression: No, this is new to the most recent version

                  Problem Description:
                  I've been using #REGION/#ENDREGION tokens in my code for some time to trigger code folding in various editors (e.g. PowerShellPlus and PowerGUI). The new v3 ISE supports this too which is great--but it's case sensitive for some reason. I consider that a bug and would love to see it made case-insensitive.

                  Product Studio item created by Connect Synchronizer due to creation of feedback…

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

                    We’ll send you updates on this idea

                    0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
                  • WMF 5.0 executing ScriptBlock over WinRM 2.0 fails

                    Following c
                    Code below will output only 1 but not when source from WMF 5.0 computer to WinRM 2.0

                    Invoke-Command -ComputerName Windows2008box -ScriptBlock {Write-Output 1; Write-Output 2 }

                    https://social.technet.microsoft.com/Forums/windowsserver/en-US/679bb655-4322-445c-8b7d-1f736c105489/can-somebody-verify-if-this-is-a-bug-in-wmf-50?forum=winserverpowershell

                    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

                      2 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                    • Convert Group Policy to use PowerShell DSC

                      I think it's time for an overhaul of Group Policy and GP Preferences. You can still keep the GUI to allow everyone to have something familiar, but I would love to see if Group Policy can be converted to start using PowerShell DSC under the hood. I think this would make things much simpler in terms of deployment and wouldn't require logon/logoff or restarts anymore (unless you wanted a script to run at those times). For everything else like IE/Edge settings, registry settings, mapped drives/printers, desktop backgrounds and such I think having everything exposed in PowerShell would both make it…

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

                        We’ll send you updates on this idea

                        5 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                      • PowerShell Should Ship all its Modules through a NuGet-like service

                        Votes from Connect: 63

                        Original Date Submitted: 11/29/2012 12:00:27 AM

                        Description:
                        ********Contact Information********
                        Handle: Joel 'Jaykul' Bennett
                        Site Name: PowerShell
                        Feedback ID: 772530
                        ***************************************

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

                        Problem Description:
                        The PowerShell team should ship it's modules via a Module Repository (like NuGet), and add commands for retrieving and installing modules to the Core module.

                        They should use that mechanism to further separate releases from the Windows Server ship schedule. In fact, I suggest that you should externalize *all* of the non-core modules (everything which is currently loaded on-demand) to separate them from…

                        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

                          1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                        • Add MaintenanceWindow paramters to PartialConfiguration DSC

                          Votes from Connect: 4

                          Original Date Submitted: 12/13/2014 2:03:27 AM

                          Description:
                          ********Contact Information********
                          Handle: RobCannon
                          Site Name: PowerShell
                          Feedback ID: 1053308
                          ***************************************

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

                          Problem Description:
                          I would like to a parameter in a PartialConfiguration section to specify a time period.

                          Some configurations would always be running and could fix configuration drift. But other configurations (that would cause a service disruption if applied) could be target to only run during a specified maintenance window. The window parameter should allow you to specify a time window and either a day of the…

                          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

                            investigating  ·  0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                          • MOF Files Include Authoring Metadata

                            Votes from Connect: 4

                            Original Date Submitted: 8/20/2014 2:21:09 AM

                            Description:
                            ********Contact Information********
                            Handle: Aaron Jensen
                            Site Name: PowerShell
                            Feedback ID: 950298
                            ***************************************

                            Frequency: Always Happens
                            Regression: No, this is new to the most recent version

                            Problem Description:
                            When converting configuration blocks to .mof files, they .mof files contain authoring metadata that causes the .mof file's contents and checksum to change, even when none of the configuration in the .mof file has changed. This makes it hard to know when a .mof file's configuration has really changed or not. All .mof files essentially look like they are always changing. This…

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

                              I am a little confused by the reason this issue gives. The MOFs are being checked into source control and this information is just noise. What is the need to check MOFs into source control instead of just the scripts and configuration data? The MOF is supposed to just be an IL that is consumed by the LCM on the target node.

                              Please share your thoughts on this so that we can ensure that we resolve this properly.

                              MarkG

                            • 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 →
                              • BUG: DSC resource name cannot start with a number if another resource depends on it

                                I have a resource named [xHotfix]2012R2_April2014CU and if I use that in the depends on field for another resource, I get this error:

                                Test-DependsOn : The format of the resource reference '[xHotfix]2012R2_CU1' in the Requires list for resource '[xHotfix]2012R2_April2014CU::[Contoso_WindowsUpdates]SampleConfig' is not valid. A required resource name should be in the format '[<typename>]<name>', with alphanumeric characters, spaces, '_', '-', '.' and '\'.

                                If I add an alpha character to the resource name, then it generates correctly.

                                xHotfix 2012R2_CU1
                                {
                                Path = "$InstallRoot\WindowsUpdates\2012R2\Windows8.1-KB2919355-x64.msu"
                                Id = "KB2919355"
                                Ensure = "Present"
                                DependsOn = "[WindowsFeature]DotNetFX3dot5"
                                }

                                xHotfix 2012R2_April2014CU
                                {
                                Path = "$InstallRoot\WindowsUpdates\2012R2\Windows8.1-KB2984006-x64.msu"
                                Id = "KB2984006" …

                                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 →

                                  Thanks for the feedback!

                                  We have looked into this issue and cannot seem to reproduce it in the latest builds WMF 5.0 RTM. Please try to reproduce it with the RTM bits and let us know if you still have the issue.

                                  Regards,

                                  MarkG

                                • Get-DscConfiguration Fails With Embedded CIM type

                                  Votes from Connect: 3

                                  Original Date Submitted: 8/28/2015 4:09:14 AM

                                  Description:
                                  ********Contact Information********
                                  Handle: Steve Murawski
                                  Site Name: PowerShell
                                  Feedback ID: 1721560
                                  ***************************************

                                  Frequency: Desired State Configuration (DSC)
                                  Regression: install-module cWebAdministration
                                  configuration cWebsite_StopWebsite
                                  {
                                  param
                                  (
                                  # Target nodes to apply the configuration
                                  [string[]]$NodeName = 'localhost'
                                  )

                                  # Import the module that defines custom resources
                                  Import-DscResource -ModuleName cWebAdministration

                                  Node $NodeName
                                  {
                                  # Install the IIS role
                                  WindowsFeature IIS
                                  {
                                  Ensure = "Present"
                                  Name = "Web-Server"
                                  }

                                  # Stop the default website
                                  cWebsite DefaultSite
                                  {
                                  Ensure = "Present"
                                  Name = "Default Web Site"
                                  State = "Stopped"
                                  PhysicalPath = "C:\inetpub\wwwroot"
                                  DependsOn =…

                                  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

                                    2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Service DSC resource should not have a default $State

                                    The Service DSC resource defaults to state = running. It would be great to be able to say "I want to make sure the service is installed, but I don't care what state it's currently in."

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

                                      We’ll send you updates on this idea

                                      2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                                    • BUG : WMF5 RTM Pull Server HTTPS

                                      I have setup new DSC Pull Server HTTPS with WMF 5 RTM on Windows server 2012 r2 .

                                      Any client with WMF 5 RTM installed is able to pull configuration from Pull Server without certificate installed on the machine .

                                      Even if AllowUnsecureConnection is set to $false in LCM .

                                      I have tested that on WMF 4.0 machines and I'm getting error if the certificate is not presented .

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

                                        Mariusz,

                                        Thanks for the feedback!

                                        We are attempting to investigate this issue but need more details from you in order to make progress.

                                        Is the issue that you are running into as follows:
                                        - WMF 5. based DSC Pull Server configured with HTTPS and server certificate installed properly. I assume this is not a certificate issued by a trusted authority, correct?
                                        - A WMF 5.0 RTM client does not have the trusted SSL certificate installed in the trusted root folder and the client is able to successfully connect to the Pull Server.
                                        - A WMF 4.0 client fails to connect when it does not have the trusted root cert installed.

                                        Please let us know if this is or is not what you are experiencing.

                                        Thanks, again,

                                        MarkG

                                      • Error in Keywords section of About_WorkFlowCommonParameters

                                        In the help text about_WorkFlowCommonParameters, in the KEYWORDS section of the full text, it shows two about_* files. The first (About_WorkFlowCommon_Parameters) does not exist.

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

                                          We’ll send you updates on this idea

                                          0 comments  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
                                        1 2 4 Next →
                                        • Don't see your idea?

                                        Feedback and Knowledge Base