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. Windows PowerShell v5 - PowerShell Direct - Start-Job with -vmname parameter

    Votes from Connect: 3

    Original Date Submitted: 5/27/2015 9:24:37 PM

    Description:

    ********Contact Information********
    Handle: _TimPringle
    Site Name: PowerShell
    Feedback ID: 1373413
    ***************************************

    Frequency: PowerShell
    Regression: Reproduction Steps Example 1
    ----------------------------------
    1) Start PowerShell (either as normal or run as administrator)
    2) Type Start-Job -VMName, and use tab to parse through other parameters. These are only the common parameters.

    Reproduction Steps Example 2
    -----------------------------------
    1) Start PowerShell (either as normal or run as administrator)
    2) Type get-command start-job -Syntax
    3) The output should be similar to below, but the last four lines, which detail the use with the VM parameters, 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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  2. Installation of KB3000850 on Win8.1 or WS2012R2 Causes PowerShell Script to Freeze with High CPU Utilization

    Votes from Connect: 66

    Original Date Submitted: 5/27/2015 8:46:16 AM

    Description:
    ********Contact Information********
    Handle: Frank E Lesniak
    Site Name: PowerShell
    Feedback ID: 1371736
    ***************************************

    Frequency: PowerShell
    Regression: 1. Visit: https://gist.github.com/anonymous/572f42ba0ea7eec4f721#file-psclass_repro_reduced11-ps1
    2. Click the "Raw" button. Copy the code to the clipboard
    3. Open Notepad and paste the code from the clipboard. Save the file somewhere with file name: animal.ps1
    (don't forget to change the file type to "All Files")
    4. Execute the script using PowerShell.

    Problem Description:
    I have a stock PowerShell template that I use as a starting point for many scripts; its code is used throughout my organization.…

    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 →
  3. Update -? common parameter

    Votes from Connect: 4

    Original Date Submitted: 5/21/2015 8:59:29 PM

    Description:
    ********Contact Information********
    Handle: Thomas Lee
    Site Name: PowerShell
    Feedback ID: 1353410
    ***************************************

    Problem Description:
    -? is a great parameter for all cmdlets as it does a basic get-help. That's fine, but it would be nice to extend it as follows:

    Switch What it does
    -?F Equivalent of Get-Help -FULL
    -?D Equivalent of Get-Help -Detailed
    -?E Equivalent of Get-Help -Example
    -?o Equivalent of Get-Help -Online

    The idea is to make it simlpler to get help for a cmdlet/function.

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

    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 →
  4. Get-NetTCPConnection does not show ProcessID

    Votes from Connect: 9

    Original Date Submitted: 5/20/2015 3:14:12 PM

    Description:
    ********Contact Information********
    Handle: Joachim Meyer
    Site Name: PowerShell
    Feedback ID: 1349420
    ***************************************

    Frequency: PowerShell
    Regression:

    Problem Description:
    I guess that classifies more as a design flaw than a bug. Netstat.exe has the option -o that displays the owning Process ID for each connection. Get-NetTCPConnection should also add a property for the Process ID. Without the Process ID the Cmdlet is pretty useless (at least for me) and does not replace netstat.exe. (The underlying WMI class MSFT_NetTCPConnection does not include that property, too, so in this case additional code and…

    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 →
  5. Import-Module with -Name parameter breaks PowerShell ISE in WMF 5.0 April Preview

    Votes from Connect: 10

    Original Date Submitted: 5/19/2015 8:46:17 PM

    Description:
    ********Contact Information********
    Handle: azhskr
    Site Name: PowerShell
    Feedback ID: 1347198
    ***************************************

    Frequency: PowerShell ISE
    Regression: Launch PowerShell ISE as either Administrator or non-Administrator
    Get-Service BITS
    Import-Module "Module Name"
    Get-Module "Module Name"
    Get-Service BITS
    Remove-Module "Module Name"
    Import-Module -Name "Module Name"
    Get-Module -Name "Module Name"
    Get-Module "Module Name"
    Get-Service BITS

    Problem Description:
    Using Import-Module -Name "Module Name" imports the module, but breaks all output in the ISE. Using Import-Module "Module Name" imports the module and doesn't affect the output.

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  6. Class constructor returns instance when exception is thrown

    Votes from Connect: 7

    Original Date Submitted: 5/19/2015 2:43:00 AM

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

    Frequency: PowerShell
    Regression: class BaconStrip {
    [string] $Length;
    [string] $Width;

    [ValidateSet('Cooked', 'Raw')]
    [string] $Status;

    [ValidateSet('Regular', 'Applewood', 'Smoked')]
    [string] $Type;

    BaconStrip([string] $Type) {
    $this.Type = $Type;
    }

    [void] Cook() {
    $this.Status = 'Cooked';
    }
    }

    ### Create a new BaconStrip instance with an invalid type
    $MyBaconStrip = [BaconStrip]::new('Regular2');

    ### This variable should be $null if an exception is thrown in the constructor
    $MyBaconStrip;

    Problem Description:
    In April 2015 Preview of WMF 5.0 (version: 5.0.10105.0), when you construct…

    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 →
  7. PowerShell copy on write behavior depends on operator type

    Votes from Connect: 3

    Original Date Submitted: 5/18/2015 2:02:46 AM

    Description:
    ********Contact Information********
    Handle: Sergey Teplyakov
    Site Name: PowerShell
    Feedback ID: 1341920
    ***************************************

    Frequency: PowerShell
    Regression:

    Problem Description:
    PowerShell uses copy-on-write semantic for inner scopes.

    This means that if you'll change outer variable in the inner scope then inner scope would deal with it's own copy. Here is an example:

    $list = @(1, 2)

    Function Foo
    {
    "Foo: initial value - $list"
    $list = $list + 3
    "Foo: `$list: $list, `$global:list: $global:list"
    }
    The output would be:

    Foo: initial value - 1 2
    Foo: $list: 1 2 3, $global:list: 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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  8. Support disk cleanup command's feature in PowerShell cmdlet

    Votes from Connect: 12

    Original Date Submitted: 5/9/2015 1:38:47 PM

    Description:
    ********Contact Information********
    Handle: kkamegawa
    Site Name: PowerShell
    Feedback ID: 1316211
    ***************************************

    Problem Description:
    cleanmgr.exe do not install in Windows Server without desktop experience.
    But ServerCoreOS cannot support desktop experience.

    I hope to support PowerShell's cmdlet same as cleanmgr.exe's feature.

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

    Repro Steps:

    Internal BugId: 14454

    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 →
  9. CMDlet for Copying the last command to the clipboard.

    Votes from Connect: 10

    Original Date Submitted: 5/6/2015 6:05:20 AM

    Description:
    ********Contact Information********
    Handle: Dan Anstis, AUS
    Site Name: PowerShell
    Feedback ID: 1306453
    ***************************************

    Problem Description:
    It would be great if we could get a native CMDlet to copy the last command run into clipboard.
    I currently do this via a Copy-Last function in my profile, however it is so handy that I would love it to be included on all PowerShell consoles that I use.

    My function is as follows (for example of what I would like to see:

    function Copy-Last
    {
    (Get-History)[-1].CommandLine | clip
    }

    Product Studio item…

    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. Variables that are $null are not always $null

    Votes from Connect: 3

    Original Date Submitted: 5/4/2015 1:20:27 AM

    Description:
    ********Contact Information********
    Handle: David I McIntosh
    Site Name: PowerShell
    Feedback ID: 1300430
    ***************************************

    Frequency: PowerShell
    Regression: >function emptyArray() { @() }
    >$l_t = @() ; $l_t.Count
    0
    >$l_t1 = @(); $l_t1 -eq $null; $l_t1.count; $l_t1.gettype()
    0
    IsPublic IsSerial Name BaseType
    -------- -------- ---- --------
    True True Object[] System.Array
    >$l_t += $l_t1; $l_t.Count
    0
    >$l_t += emptyArray; $l_t.Count
    0
    >$l_t2 = emptyArray; $l_t2 -eq $null; $l_t2.Count; $l_t2.gettype()
    True
    0
    You cannot call a method on a null-valued expression.
    At line:1 char:38
    + $l_t2 = emptyArray; $l_t2 -eq $null; $l_t2.Count; $l_t2.gettype() …

    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 →
  11. 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 →
  12. 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 →
  13. 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 →
  14. 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 →
  15. 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 →
  16. 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 →
  17. 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 →
  18. 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 →
  19. 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 →
  20. 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 →
  • Don't see your idea?

Feedback and Knowledge Base