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. Provide a simple way to reverse engineer Windows configurations using Windows PowerShell

    Votes from Connect: 13

    Original Date Submitted: 1/28/2011 2:06:24 PM

    Description:
    Contact Information
    Handle: Matt Neerincx [MSFT]
    Site Name: PowerShell
    Feedback ID: 639211


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

    Problem Description:
    Trying to figure out how to do anything with Windows Powershell is always challenging. Why not have a simple tool to reverse engineer the configuration of Windows and generate the associated PowerShell scripts? We have this feature in SQL Server, you just right click on something and say "generate script".

    I would like to have a way to generate scripts for Windows Failover Cluster…

    4 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 →
  2. Enable-PSRemoting support for ComputerName parameter

    Votes from Connect: 17

    Original Date Submitted: 11/23/2010 4:09:27 PM

    Description:
    Contact Information
    Handle: Aleksandar Nikolic
    Site Name: PowerShell
    Feedback ID: 623892


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

    Problem Description:
    I would like to see Enable-PSRemoting support for ComputerName parameter to enable remoting on a remote machine.

    If you are in a domain environment then the ComputerName parameter would not mean much because you could use GPO to enable PowerShell remoting wherever you like. However, in a workgroup environment it could be quite useful.

    Product Studio item created by Connect Synchronizer due to…

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

    We’ll send you updates on this idea

    0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  3. Test-ModuleManifest deletes exported variables!!!

    Votes from Connect: 11

    Original Date Submitted: 8/7/2010 12:50:32 PM

    Description:
    Contact Information
    Handle: Joel "Jaykul" Bennett
    Site Name: PowerShell
    Feedback ID: 584207


    Frequency: Always Happens
    Regression: I don't know if this issue existed previously

    Problem Description:
    If you use Test-ModuleManifest on the manifest of a module that's already been loaded, and that exports variables ... it deletes all exported variables.

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

    Repro Steps:

    Modules\Test\Test.psd1

    @{
    Author="Joel Bennett"
    ModuleVersion="1.0.0.0"
    ModuleToProcess=join-path $PSScriptRoot "Test.psm1"
    VariablesToExport="*"
    }

    Modules\Test\Test.psm1

    $GraciousVariable = "Hello, my name is gracious. I'm pleased…

    4 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 →
  4. Get-Credential should expose more options

    Votes from Connect: 24

    Original Date Submitted: 7/21/2010 9:51:10 PM

    Description:
    Contact Information
    Handle: Joel "Jaykul" Bennett
    Site Name: PowerShell
    Feedback ID: 577042


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

    Problem Description:
    At a minimum, Get-Credential needs to expose parameters (like) -Title and -Message for setting the text of the credential query dialog so that the user can tell which credential they are being prompted for.

    Ideally, you should support all of the new Vista / Windows 7 features of CredUIPromptForWindowsCredentials http://msdn.microsoft.com/en-us/library/aa375178%28VS.85%29.aspx ... specifically:


    • The option to display and default the SAVE checkbox to store credentials…
    3 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 →
  5. PowerShell.exe can hang if STDIN is redirected

    Votes from Connect: 26

    Original Date Submitted: 7/2/2010 7:56:48 AM

    Description:

    Contact Information
    Handle: Jason Stangroome
    Site Name: PowerShell
    Feedback ID: 572313


    Frequency: Sometimes Happens
    Regression: I don't know if this issue existed previously

    Problem Description:
    The Microsoft.PowerShell.ConsoleHost class constructs a M.PS.WrappedDeserializer passing the STDIN TextReader as one of the parameters. By default, the WrappedDeserializer will call ReadLine() on this STDIN TextReader and wait indefinitely, effectively hanging PowerShell and the calling process.

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

    Repro Steps:
    1. Create a simple PowerShell script.
    2. Create a…

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

    We’ll send you updates on this idea

    0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  6. PowerShell's base dynamic object needs to implement IDynamicMetaObjectProvider

    Votes from Connect: 21

    Original Date Submitted: 6/28/2010 12:54:06 PM

    Description:
    Contact Information
    Handle: Joel "Jaykul" Bennett
    Site Name: PowerShell
    Feedback ID: 571301


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

    Problem Description:
    Unlike CLR classes, the members of dynamic objects are defined at runtime. DynamicObject is a new abstract class in the .NET Framework 4 that allows developers to easily implement IDynamicMetaObjectProvider.

    This is the standard way that C# and dynamic languages communicate, and it's the core requirement for WPF data-binding to dynamic objects and allowing the use of natural property syntax to access dynamic properties.

    4 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 →
  7. PowerShell should have a using statement

    Votes from Connect: 28

    Original Date Submitted: 6/8/2010 10:54:52 PM

    Description:
    Contact Information
    Handle: Joel "Jaykul" Bennett
    Site Name: PowerShell
    Feedback ID: 565815


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

    Problem Description:
    In order to manage disposing of object safely, PowerShell ought to have a using statement like CSharp's (or an equivalent construct).

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

    Repro Steps:
    $site = new-object Microsoft.SharePoint.SPSite($SiteCollectionURL)
    $web = $site.openweb()

    $web.SiteUsers | Where{ Get-QADUser -Domain $myDomain -user $_.LoginName.ToLower().Split('')[1] } | Select -Expand LoginName | out-File "OrphanedUsers.txt" -append

    4 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 →
  8. Make PowerShell_ISE More Extensible

    Votes from Connect: 10

    Original Date Submitted: 3/19/2010 8:20:52 PM

    Description:
    Contact Information
    Handle: cmille19
    Site Name: PowerShell
    Feedback ID: 543200


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

    Problem Description:
    In PowerShellISE it is fairly easy to add functionality via menu items that perform some action against PowerShell file types. However, when editing non-PowerShell files it is more difficult to extend. For instance I created a SQL pack for PowerShellIse which provides an IDE for SQL queries. This works OK, however there are a few things that can't be done like implement…

    4 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 →
  9. PowerShell does not update ref and out parameters when method throw exception

    Add-Type -TypeDefinition @'

    public static class C {
    
    public static void M(ref int refint, out int outint) {
    refint=10;
    outint=20;
    throw new System.Exception();
    }
    }

    '@
    $a=0
    $b=0
    $a
    $b

    $a and $b will have old value: 0, although method change passed parameters.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  10. 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
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

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

    Thanks for the feedback!

    We will take this into consideration in a future release.

    MarkG

  11. The $foreach iterator does not behave properly when processing tokens

    This is a bug in PowerShell 2.0 and later versions (i.e. not a regression).

    The $foreach iterator does not advance inside of a foreach loop when processing tokens that come from the PowerShell parser. For example:

    $Filter = 'foo -eq $false'
    foreach ($token in [System.Management.Automation.PSParser]::Tokenize($Filter,([REF]$null))) {

    if ($token.Type -ne [System.Management.Automation.PSTokenType]::Command) {
    
    continue
    }
    $foreach.MoveNext() > $null
    $foreach.Current

    }

    If you run this, $foreach.Current is $null in the first iteration of the loop (this is wrong), and when you advance the iterator using MoveNext(), it then gets assigned to the first item in the collection.

    The workaround is to force the…

    2 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 →
  12. Get or Set-WebConfiguration and Get or Set-WebConfigurationProperty does not work for 32-bit applications when pspath is 'MACHINE/WEBROOT'

    When configuring IIS using Powershell, the cmdlets that read or write to configuration do not work when the application pool is 32-bit.

    There is no way of specifying the "bitness" of the application therefore by default the configuration is written to the web.config file in the Framework64 folder which is ignored for 32-bit applications.

    This is also the case for IIS manager when using "Configuration Editor". You can choose the location of "Root Web.Config <location path="my website"> however this ignores whether the application is 32 or 64 bit and always writes to the 64 bit location in the Framework64 folder.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  13. ISE should not complain about improperly closed session

    Whenever ISE is started after a system reboot or logoff/logon sequence, and ISE was running before, it complains that "the previous session was not properly closed" even if no unsaved files were loaded.

    On WM_QUERYENDSESSION, it should just save its state and restore it seamlessly at the next startup.

    2 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 →
  14. Get-Help -online doesn't work for some topics

    This should speak for itself:

    PS > get-help aboutvariables -online
    get-help : The online version of this Help topic cannot be displayed because the Internet address (URI) of the Help topic is not
    specified in the command code or in the help file for the command.
    At line:1 char:1
    + get-help about
    variables -online
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Get-Help], PSInvalidOperationException
    
    + FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.GetHelpCommand

    Given the limitations of Get-Help -ShowWindow, I would expect all help to be available via -Online

    2 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 →
  15. Need CmdLet that returns the effective permissions for file, folders, reg-keys...

    Can you please add a CmdLet that show the effective permissions for a folder, file, reg-key, Ad-entry for a select user or group.

    Example:
    show-effectiveperms -resource F.\data -user testuser

    2 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 →
  16. Add Print and recently used File menu for ISE

    In short make ISE able to replace Notepad.exe (which lacks the line numbering feature)

    2 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 →
  17. PowerShell ISE: Support F7 (menu) and F8 (complete with history)

    F7 (menu) and F8 (complete with history) are extremely powerful features in the console window. Not having it available in the ISE puts actual GUI trade-offs into play. If I choose the ISE, I should expect to get the most capable GUI, but that's not what I get; instead I get a GUI that's more capable in some ways and less in others.

    2 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 →
  18. PowerShell 5.0 for Windows 7 does not support syntax highlighting + checking

    The latest build of PS5 in Windows 10 build 10586.36 supports syntax highlighting + checking in the command-line host (powershell.exe).

    This is not the case in powershell.exe 5.0.10586.51 for Windows 7

    Is this a temporary limitation?

    1 vote
    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 →
  19. Get-Clipboard returns one object too many in PS5.0

    If I copy three rows of text from Notepad or Excel into the clipboard, Get-Clipboard returns an array of four strings, instead of three.

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  20. Scripts need better isolation from the user's global session state

    Votes from Connect: 4

    Original Date Submitted: 11/28/2015 5:59:49 AM

    Description:
    Contact Information
    Handle: Keith Hill MVP
    Site Name: PowerShell
    Feedback ID: 2065573


    Problem Description:
    Right now it is too hard to write a 100% reliable script that can run in any particular user's PowerShell console. The crux of the problem is that global session state is so varied amongst individual users it is hard to anticipate all possibilities such as:

    •Command proxies
    •Imported (auto or explicit) modules that implement the same named command (but semantically different)
    •Redirected aliases
    •Defined variables you weren't expecting to be defined
    •Removed globals you…

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

    We’ll send you updates on this idea

    0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base