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. Error Installing Powershell Preview April 2015 on Windows 7

    Votes from Connect: 3

    Original Date Submitted: 4/30/2015 2:06:48 PM

    Description:
    ********Contact Information********
    Handle: Holger Froebe
    Site Name: PowerShell
    Feedback ID: 1290413
    ***************************************

    Frequency: PowerShell
    Regression: Windows 7 SP1 X64 - German
    Following release notes:
    Checked for all the updates - OK
    Powershell 4.0 was installed - OK
    Selecting package from MS Download Center:
    Windows6.1-KB2908075-x64
    Starting the Update-Package gives me the above error.

    Maybe a Problem with UI Culture - I work with a german Windows and maybe the Preview is
    only applicable to english Windows ?

    Problem Description:
    Installing Powershell 5.0 on Windows 7 gives me error:
    This update…

    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 →
  2. PSBoundParameters arguments include values that were bound so far

    Votes from Connect: 8

    Original Date Submitted: 4/28/2015 1:48:05 AM

    Description:

    ********Contact Information********
    Handle: Adam D. Bertram
    Site Name: PowerShell
    Feedback ID: 1283430
    ***************************************

    Frequency: PowerShell
    Regression: I want -ShowWindow to be used for Get-Help only if I have "about_if" as the Name parameter argument.

    I do this and expect a $true output if I'm using 'about_if' but it does not work.

    $PSDefaultParameterValues["Get-Help:ShowWindow"] = { ($args[0].BoundParameters -contains 'Name') -and ($PSBoundParameters['Name'] -eq 'about_if') }

    The reason is that $PSBoundParameters does not include param argument values for parameters that are already bound.

    Problem Description:
    When attempting to add a scriptblock value to…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  3. Script won't display help docs with -? if it uses #requires -RunAsAdministator

    Votes from Connect: 5

    Original Date Submitted: 4/27/2015 6:22:00 AM

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

    Frequency: PowerShell
    Regression: Run the script (call it test.ps1) from the Description above from a non-admin PowerShell prompt like so:

    PS> .\test.ps1 -?

    You will get this result:

    .\test.ps1 : The script 'test.ps1' cannot be run because it contains a "#requires" statement for running as
    Administrator. The current Windows PowerShell session is not running as Administrator. Start Windows PowerShell by
    using the Run as Administrator option, and then try running the script again.
    At line:1 char:1 …

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  4. Add ExportedProviders to ModuleInfo object

    Votes from Connect: 3

    Original Date Submitted: 4/25/2015 10:51:47 PM

    Description:
    ********Contact Information********
    Handle: June Blender
    Site Name: PowerShell
    Feedback ID: 1277841
    ***************************************

    Frequency: PowerShell
    Regression: PS C:\> (Get-Module Microsoft.PowerShell.Security).ExportedProviders
    PS C:\>

    Problem Description:
    Please add an ExportedProviders key to the module manifest and add its value to the ModuleInfo object. This lets users easily detect whether a module will add a new PSProvider to their session.

    This also lets us detect and support provider help in help tools.

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

    Repro Steps:
    PS C:\>…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  5. LCM on clean Windows 2012R2 with WMF 5.0 Feb preview don't apply configuration from Current.mof file.

    Votes from Connect: 3

    Original Date Submitted: 4/24/2015 8:39:47 PM

    Description:
    ********Contact Information********
    Handle: Juris Krumins
    Site Name: PowerShell
    Feedback ID: 1274851
    ***************************************

    Frequency: Desired State Configuration (DSC)
    Regression: Install Windows 2021R2, install WMF 5.0 Feb preview and put your mof configuration file to the C:\Windows\System32\Configuration with the Current.mof file name. Wait at least 15 min and LCM should start apply configuration.
    Works with Windows 2012 and WMF 5.0 Feb preview installed.

    Problem Description:
    Clean Windows 2012R2 box with WMF 5.0 Feb preview installed and configuration have been pushed as C:\Windows\System32\Configuration\Current.mof file. I can't see any signs in DSC Evenlog,…

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  6. WMF5 (KB3037315) install breaks Commands add-on in PowerShell ISE for admin

    Votes from Connect: 6

    Original Date Submitted: 4/24/2015 1:03:59 AM

    Description:

    ********Contact Information********
    Handle: Mathias JWD
    Site Name: PowerShell
    Feedback ID: 1272913
    ***************************************

    Frequency: PowerShell ISE
    Regression: 1. Install KB3037315
    2. Run ISE as administrator
    3. Commands addon does not show any commands or modules
    4. Click Run/Insert/Copy, ISE will crash.

    Problem Description:
    After I installed KB3037315 on my Windows 8.1 PC, the Commands Add-on in my PowerShell ISE did no longer show any commands, the Modules drop down box remained empty. When clicking any of the three buttons on the bottom (Run/Insert/Copy), the ISE would crash.

    This happened only…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  7. The PowerShell course that Microsoft is offering via edX should have a free audit option like the other Microsoft/edX courses

    Votes from Connect: 7

    Original Date Submitted: 4/23/2015 6:45:25 PM

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

    Problem Description:
    I discussed this with Kenneth at the PowerShell Summit this week, and he suggested I log an issue here. There is a PowerShell course on edX that can be found here:

    https://www.edx.org/course/windows-powershell-fundamentals-microsoft-inf201x

    This course costs $200 US.

    There are 6 other Microsoft courses on edX on C#, TypeScript, Bootstrap, Azure, O365, and Transact-SQL. Those courses offer both a paid certificate option and a free audit option. But the PowerShell one only has a $200 US…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  8. PowerShell should have a cmdlet that supports best effort magic number parsing on files without extensions or incorrect extensions

    Votes from Connect: 4

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

    Description:
    ********Contact Information********
    Handle: JasonHorner
    Site Name: PowerShell
    Feedback ID: 1246396
    ***************************************

    Problem Description:
    often we need to parse a file and not rely on its extension, while magic number parsing is imperfect it can provide some value.
    this could be used for general file parsing as well as some security scenarios

    Here is a script that implements this feature though I don't think it is completely robust:
    http://powershell.com/cs/blogs/tips/archive/2010/08/09/reading-file-quot-magic-number-quot.aspx

    unix support a similar capability via the file utility:
    http://en.wikipedia.org/wiki/File_%28command%29

    More info on magic number parsing:
    http://en.wikipedia.org/wiki/List_of_file_signatures

    Product Studio item created…

    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 →
  9. Script Analyzer - Severity for Custom Rule does not work

    Votes from Connect: 6

    Original Date Submitted: 3/20/2015 7:53:36 PM

    Description:
    ********Contact Information********
    Handle: Stefan Stranger
    Site Name: PowerShell
    Feedback ID: 1192179
    ***************************************

    Frequency: Always Happens
    Regression: I do not know if this issue existed previously

    Problem Description:
    When creating a custom script analyzer rule the severity does not seem to be executed.

    Example:
    <#
    .SYNOPSIS
    You should never use Write-Host to create any script output whatsoever.
    .DESCRIPTION
    It is generally accepted that you should never use Write-Host to create any script output whatsoever, unless your script (or function, or whatever) uses the Show verb (as in, Show-Performance).
    That verb…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  10. about_Remote_Troubleshooting Group Policy incorrect for 2012 R2

    Votes from Connect: 4

    Original Date Submitted: 3/17/2015 8:27:30 PM

    Description:
    ********Contact Information********
    Handle: Ashley McGlone
    Site Name: PowerShell
    Feedback ID: 1186090
    ***************************************

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

    Problem Description:
    The about_Remote_Troubleshooting topic needs to be updated for 2012 (R2). The group policy setting name has changed:

    Allow automatic configuration of listeners (2008 R2)
    Allow remote server management through WinRM (2012 R2)

    The policy name appears twice in the help text:

    -- To configure listeners for remoting, enable the "Allow automatic
    configuration of listeners" group policy. For instructions, see
    "How to Enable Listeners by…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  11. Love PowerShell but not a fan of one syntax requirement

    Votes from Connect: 6

    Original Date Submitted: 3/14/2015 4:56:44 AM

    Description:
    ********Contact Information********
    Handle: J. Michael Delaney
    Site Name: PowerShell
    Feedback ID: 1179419
    ***************************************

    Problem Description:
    Love PowerShell. It helps me so much in my daily tasks and I am constantly wowing co-workers with my skills.

    When scripting, the only thing I don't like about PowerShell is that when doing conditional statements with if/elseif/else and looping constructs, that I need to use brace brackets when the conditional or loop executes one line of code.

    For example, in other languages such as C++, I can do this:

    If(x=10)
    std::cout << "hello…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  12. Enable authoring of DSC resources using c# in a similar way as with ps classes

    Votes from Connect: 3

    Original Date Submitted: 3/12/2015 9:51:57 PM

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

    Problem Description:
    We're now able to write DSC resources using classes in powershell and that is really great!

    Please also enable writing resources in c# in a similar way using a single class and attributes to mark properties and methods as their DSC equivalent. that would reduce alot of the friction for developers coming in to DSC from c#

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

    Repro Steps:

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  13. Add DefaultValue property to System.Management.Automation.CommandParameterInfo class

    Votes from Connect: 8

    Original Date Submitted: 3/3/2015 5:52:55 AM

    Description:
    ********Contact Information********
    Handle: June Blender
    Site Name: PowerShell
    Feedback ID: 1157696
    ***************************************

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

    Problem Description:
    Currently, there is no way to detect whether a command parameter has a default value or what the default value is. It's important to help authoring and to command parsing.

    I can use the AST to get the default value, but that works only for functions and scripts; not for cmdlets.

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

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  14. Deep nested workflows don't recognize the erroraction parameter

    Votes from Connect: 5

    Original Date Submitted: 3/2/2015 8:58:03 PM

    Description:
    ********Contact Information********
    Handle: Trond Hindenes
    Site Name: PowerShell
    Feedback ID: 1156994
    ***************************************

    Frequency: Always Happens
    Regression: I do not know if this issue existed previously

    Problem Description:
    If a workflow uses deep nesting (at least 3 levels of nesting), erroraction does not work. This is reproducable in both the V4 and V5 feb preview of the WMF.

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

    Repro Steps:
    Consider the following 3 workflows
    workflow one
    {
    Write-Output "one"
    }

    workflow two …

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  15. Flags Enumeration Bitwise Operations Fail With 'Specified cast is not valid' Error

    Votes from Connect: 3

    Original Date Submitted: 2/19/2015 11:08:09 PM

    Description:

    ********Contact Information********
    Handle: Rohn Edwards
    Site Name: PowerShell
    Feedback ID: 1138469
    ***************************************

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

    Problem Description:
    In the December 2014 and February 2015 WMF 5.0 previews, flags enumerations that have byte, sbyte, short, or ushort underlying types have to be cast or coerced to a numeric type before -band, -bor, or -bxor bitwise operations will work.

    int, uint, long, and ulong underlying types still work as expected.

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

    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 →
  16. Parameter validation

    Votes from Connect: 5

    Original Date Submitted: 2/6/2015 3:54:49 PM

    Description:
    ********Contact Information********
    Handle: edi89
    Site Name: PowerShell
    Feedback ID: 1117495
    ***************************************

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

    Problem Description:
    Using paramter validation in functions works just find - something like this:
    function test{
    Param (
    [ValidateRange(3,8)]
    [Int] $mytest )

    write-host $mytest
    }
    test 4
    test 9
    The problem is, that it seems, that parameter validation is in fact just a special case of variable validation which leads to the circumstance, that the variable used (in this case $mytest) is beeing validated every time…

    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 →
  17. Add snippet support to the console as well

    Votes from Connect: 3

    Original Date Submitted: 1/30/2015 5:06:50 AM

    Description:
    ********Contact Information********
    Handle: Stephen Owen
    Site Name: PowerShell
    Feedback ID: 1107509
    ***************************************

    Frequency: Always Happens
    Regression: I don

    Problem Description:
    Now that I've gotten used to ISE-Snippets, I love them and I have a huge selection of them to help me with calculated properties, custom objects, and things like that. I'd love to be able to use ISE-Snippets in the PowerShell console as well.

    We can already hit F7 to see a list of the last 40 or so commands in our window. How about adding a similar window…

    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 →
  18. DSC Please make sure key properties are unique for each resource in a node.

    Votes from Connect: 3

    Original Date Submitted: 1/29/2015 7:34:02 AM

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

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

    Problem Description:
    i've investigated DSC but found it to be almost unusable on any kind of scale since it seems every variable is stored in some global scope, not even quantified with step names.

    This makes it impossible to so something as simple as stopping and starting a service to update it, surely a common scenario. (Because the "Name" has to be unique)

    Even worse, trying to…

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  19. MKDIR and RM needs unix-like most pertinent switches

    Votes from Connect: 3

    Original Date Submitted: 1/3/2015 6:07:28 AM

    Description:
    ********Contact Information********
    Handle: The Deeds
    Site Name: PowerShell
    Feedback ID: 1074131
    ***************************************

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

    Problem Description:
    Part 1:

    In bash, we say:

    rm -f

    In Powershell, the equivalent is:

    rm -Force

    Please add an alias -f, so to make it compatible with unix-like shells. It helps a lot in C/C++ CMAKE and other scripting scenarios like Nodejs etc.

    Part 2:

    We desperately need mkdir -p (or --parents) switch of Unix in Windows. Going by the man (manual); http://www.computerhope.com/unix/umkdir.htm, it…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  20. Cannot Connect to Office 365 since November's WMF5

    Votes from Connect: 3

    Original Date Submitted: 1/3/2015 3:54:37 AM

    Description:
    ********Contact Information********
    Handle: rpseekell
    Site Name: PowerShell
    Feedback ID: 1074018
    ***************************************

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

    Problem Description:
    I use this script to connect to Office 365 via PowerShell, which I think is pretty standard:
    $cred = Get-Credential
    $sess = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $cred -Authentication basic -AllowRedirection
    Import-PSSession -Session $sess

    However, since updating to the November preview of PowerShell (WMF) 5, the new-PSSession command hangs and never finishes. I get a message like,
    WARNING: Your connection has been…

    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  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base