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.
  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. ConvertTo-Html incorrectly labels default single column

    ConvertTo-Html works as desired when the output contains two or more columns.

    ConvertTo-Html works as desired when the output contains only one column derived from a property that was explicitly named in the -Properties parameter.

    However, if a match string is used for the -Property parameter, or the -Property parameter is omitted (and presumably defaults to match string "*"), and the output contains only a single column, the column header incorrectly contains the match string instead of the name of the property.

    For example, this:

    $X = [pscustomobject]@{ Name = 'Joe' }
    ConvertTo-Html -InputObject $X -Fragment

    Results in this:

    <table> …

    13 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  2. DSCPullServer needs improved client registration

    The DSCPullServer is basically a knock off of Puppet-OpenSource project .. so let's finish some of the critically missing tools

    I'm talking mainly about client registration (or lack thereof).

    How it's done in puppetOS:
    1. Make sure "puppet" CNAME is in DNS
    2. Install puppet_agent (no questions asked, just install)
    3. On the puppet server, use "puppet cert list" to see pending machines, and "puppet cert sign" to add it.

    That's it I'm ready to write manifests and go for it. It issues the cert, tracks the box, basically handles everything.

    Compare that to DSC:
    1. Create a CName to…

    13 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  3. ISE: Configurable tab size & convert tabs to spaces

    Votes from Connect: 107

    Original Date Submitted: 9/6/2012 7:43:17 PM

    Description:
    Contact Information
    Handle: HelgeKlein
    Site Name: PowerShell
    Feedback ID: 761424


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

    Problem Description:
    Any code editor really needs these two features:


    • configurable tab size (currently fixed at 4)

    • whether to convert tabs to spaces

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

    Repro Steps:
    Expected Results:

    Internal BugId: 3787

    13 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  4. MinimumCompatibleVersion still causes "Cannot find module PSDesiredStateConfiguration_1.0 from the server"

    Although a very similar issue has been resolved in WMF5.1 we are encountering an issue when working with partial configurations.

    It seems that the MinimumCompatibleVersion for the complete configurations is taken from the "first" (alphabetical order) partial configuration. If this happens to be a 2.0.0 configuration then other partials which were 1.0.0 cannot load the PSDesiredStateConfiguration module.

    Please take a look at the reproduction in the attachment.
    We reproduced this on windows server 2012r2, 2016 and 2019 and it is causing a very blocking issue for us.

    Edit; since the attachments dont seem to work:

    if (-not $inputCredential)
    {

    $inputCredential
    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  5. Support for NPM type version strings in PowerShell module manifest

    packages.json in NPM (NodeJS in general) supports prefixes in the version string to specify a minimum required with minor and minor/patch versions being a variable. For example,

    The tilde matches the most recent minor version (the middle number). ~1.2.3 will match all 1.2.x versions but won't match 1.3.0.

    The caret provides better flexibility. It will refer to the most recent major version (the first number). ^1.2.3 will match any 1.x.x release including 1.3.0, but will hold off on 2.0.0.

    Also, an asterisk (*) indicates that the latest version of the module is needed.

    Implementing this type of version specification in…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Package Management  ·  Flag idea as inappropriate…  ·  Admin →
  6. WMF 5.1 RestrictedRemoteServer session type fails to import the 'Microsoft.PowerShell.Utility' module

    When importing this module in a restricted session type or when making a function or a cmdlet from this module visible, i.e:
    VisibleFunctions = 'Get-FileHash'
    the following message is returned:
    WARNING: The 'Microsoft.PowerShell.Utility' module was not imported because the 'Microsoft.PowerShell.Utility' snap-in was already imported.
    In practice, the module is not being imported.
    Get-PSSnapin shows that a snapin with the same name is indeed loaded:
    Name : Microsoft.PowerShell.Utility
    PSVersion : 5.1.14409.1005
    Description : This Windows PowerShell snap-in contains utility
    cmdlets that are used to view and organize data in different ways.
    but exposes no commands
    Get-PSSnapin from a regular (not remote)…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    5 comments  ·  WinRM  ·  Flag idea as inappropriate…  ·  Admin →

    This report is a bit confusing, so need some information.
    On the system where you received this error, please try running any of the commands from Microsoft.PowerShell.Utility, such as get-member, or get-date. The error message and the information you provided seems to indicate that the module is already loaded, so we are looking for other indications that it is not.

  7. Write-Host -NoNewLine and Transcription

    Starting with WMF 5.0 the -NoNewLine option for Write-Host is essentially ignored in the transcripts created using Start-Transcript.

    Simple example script:

    Start-Transcript log.txt
    Write-Host -NoNewLine "this should all"
    Write-Host -NoNewLine "be on one line"
    Write-Host -NoNewLine "in the log.txt file"
    Stop-Transcript

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  8. Node with large configurations fails to send status report to the Report Server

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

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

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

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    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 →
  9. Badges for PowerShell Gallery counts to be used on a GitHub page

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

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

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  PowerShell Gallery  ·  Flag idea as inappropriate…  ·  Admin →

    Interesting concept. If you could do us a favor and send a pointer to a specific example, it would be helpful for us.

  10. Get-Help needs FullyQualifiedModule parameter

    Users might need to get the help for a particular version of a cmdlet in a particular module.

    Get-Help takes a module-qualified cmdlet name, although it doesn't always work (https://windowsserver.uservoice.com/forums/301869-powershell/suggestions/13786959-get-help-can-t-find-help-for-module-qualified-comm).

    But there is no mechanism to specify the module version.

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  11. BUG: Out-GridView hangs in ISEP 5.1.1

    In ISE Preview 5.1.1 (running on Windows 10.10586.164, FWIW), this hangs:

    "foo" | out-gridview

    Then if you hit Ctrl+C, ISEP says "Stopping"... forever.

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    In Queue  ·  3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  12. allow DSC nodes to download meta configuration

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

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

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

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

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

    Justin,

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

    Regards,

    MarkG

  13. Enable PowerShell module auto-discovery in DSC

    I recently discovered that in my DSC resource I can't call a powershell cmdlet that internally calls into another powershell cmdlet - that fails because DSC doesn’t explicitly import the full powershell module, but only imports specific .psm1 files.

    Note, same (cmdlet calling another cmdlet) works perfectly fine when executed from Powershell cmd prompt. Let's fix it for DSC.

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

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

    Thank you for your 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

  14. Bug: Trouble Setting LCM for Partial Configurations

    I've been unable to set partial configurations with WMF 5 PP, so I waited to RTM to see if it was resolved. It's not. I originally posted on powershell.org but without success. Here's the original post and link:

    I'm using WMF 5 Production Preview on Server 2012 R2, trying to set a node to use Partial Configurations. I've tried with a remote node and localhost, but all give an error. Sample config (I've tried a few variations, with more or less partial configs):

    [DSCLocalConfigurationManager()]
    configuration foo
    {

    Node localhost
    {

    PartialConfiguration SomeConfig
    {
    RefreshMode = 'Push'
    }
    }
    }

    foo…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    4 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  15. Add automatic PSModule and PSModuleRoot variables to all script modules

    Votes from Connect: 9

    Original Date Submitted: 8/26/2015 4:39:27 AM

    Description:
    Contact Information
    Handle: Kirk Munro
    Site Name: PowerShell
    Feedback ID: 1712772


    Problem Description:
    It is common to need to access the module info object or the module root folder from within a module. To facilitate this, two automatic variables should be defined within every module scope:

    $PSModule - set to $ExecutionContext.SessionState.Module
    $PSModuleRoot - set to $PSModule.ModuleBase

    With these defined, you have the root folder allowing you to reference the relative file structure of the module, and you can reference the module info to set the on close event handler,…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  16. out-host paging doesn't work in ISE

    Votes from Connect: 4

    Original Date Submitted: 12/27/2014 2:18:58 PM

    Description:
    Contact Information
    Handle: john.s2011n
    Site Name: PowerShell
    Feedback ID: 1066960


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

    Problem Description:
    | out-host paging or | more doesn't work in iSE console pane (bottom pane)
    for example Get-process | out-host paging
    Hope this be added in PS 5.0

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

    Repro Steps:
    Expected Results:

    Internal BugId: 13163

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  17. 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 week…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    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 →
  18. -windowstyle hidden

    Votes from Connect: 3

    Original Date Submitted: 8/6/2014 2:59:46 AM

    Description:
    Contact Information
    Handle: TheWez
    Site Name: PowerShell
    Feedback ID: 938940


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

    Problem Description:
    When running powershell.exe -windowstyle hidden a powershell prompt is still presented to the user for a short period. This period is long enough that users are able to exit the window and causing failed SCCM deployments.

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

    Repro Steps:
    Run powershell.exe -windowstyle hidden <anyscript> - A powershell prompt will be…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  19. Tear-off ISE tabs

    Votes from Connect: 17

    Original Date Submitted: 5/2/2014 4:25:16 PM

    Description:
    Contact Information
    Handle: Sean E Gray
    Site Name: PowerShell
    Feedback ID: 865384


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

    Problem Description:
    It would be incredibly useful to me if we could 'tear off' tabs from the ISE to make new windows, or drag and drop tags between ISE windows. Ideally, this would work in exactly the same was as it does in Internet Explorer.

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

    Repro Steps:
    Expected Results:

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  20. PowerShell must support calling Async APIs

    Votes from Connect: 57

    Original Date Submitted: 3/24/2014 10:15:46 AM

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


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

    Problem Description:
    Currently PowerShell has it's own systems (based on "Jobs") for doing asynchronous tasks -- while this was admirable in the .Net 2.0 and 3.0 era, in the modern .Net Framework we have new "IAsyncResult" task APIs, and they do not work in PowerShell at all.

    As more and more of the .Net Framework itself and 3rd party APIs begin to depend on Tasks, IAsyncResult,…

    12 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
1 2 6 8 10 86 87
  • Don't see your idea?

Feedback and Knowledge Base