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. The call operator should support invoking .NET methods and also support splatting

    Votes from Connect: 5

    Original Date Submitted: 9/8/2014 11:00:11 PM

    Description:
    ********Contact Information********
    Handle: Oisín Grehan
    Site Name: PowerShell
    Feedback ID: 966940
    ***************************************

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

    Problem Description:
    As of v5, the call (&) operator cannot invoke .NET methods. With the implied deprecation of new-object in v5 by way of the "new(...)" synthetic static constructor method, this becomes a more obvious lack.

    One thing new-object has that the new v5 static method "new" does not is splatting support. Syntactically, this seems to make most sense when combined with support for invoking .NET…

    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 →
  2. Desired State Configuration - Group resource

    Votes from Connect: 5

    Original Date Submitted: 8/21/2014 8:11:21 PM

    Description:
    ********Contact Information********
    Handle: M.T.Nielsen
    Site Name: PowerShell
    Feedback ID: 951681
    ***************************************

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

    Problem Description:
    Adding a Domain user/group to a Local group, without providing explicit domain credentials, fails, even on a domain-joined machine with read-access to Active Directory.

    The MSFT_GroupResource.psm1 file in the PSDesiredStateConfiguration module has the following code for Test-TargetResource and Set-TargetResource (line 132 & 464):

    # Create an instance of PrincipalContext.
    $credentialPrincipalContext = $null;
    if($PSBoundParameters.ContainsKey('Credential'))
    {
    $networdCredential = $Credential.GetNetworkCredential();
    $credentialPrincipalContext = New-Object System.DirectoryServices.AccountManagement.PrincipalContext -ArgumentList ([System.DirectoryServices.AccountManagement.ContextType]::Domain, …

    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 →
  3. [System.Management.Automation.PSTypeNameAttribute] is undocumented

    Votes from Connect: 5

    Original Date Submitted: 8/16/2014 3:44:32 AM

    Description:
    ********Contact Information********
    Handle: Derp McDerp
    Site Name: PowerShell
    Feedback ID: 947173
    ***************************************

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

    Problem Description:
    1. The accelerator for [System.Management.Automation.PSTypeNameAttribute] should be changed from [PSTypeNameAttribute] to [ParameterType] to be consistent with PowerShell's naming conventions.

    2. The PSTypeNameAttribute is only obscurely documented in MSDN's System.Management.Automation.dll documentation instead of PowerShell's about_Functions_Advanced_Parameters documentation.

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

    Repro Steps:
    Expected Results:

    Internal BugId: 8944

    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. WMF 5 May Preview - PowerShellGet Nuget.exe won't launch when running as SYSTEM

    Votes from Connect: 4

    Original Date Submitted: 7/18/2014 5:22:57 AM

    Description:
    ********Contact Information********
    Handle: R Jason Morgan
    Site Name: PowerShell
    Feedback ID: 922914
    ***************************************

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

    Problem Description:
    When you install the WMF 5 May preview on Windows 8.1 enterprise with update x64, KB2894868-x64, the nuget.exe file that gets placed at %winddir%\System32\config\systemprofile\AppData\Local\Microsoft\Windows\PowerShell\PowerShellGet\nuget.exe doesn't work. This issue is noticeable when you try and run the find and install *-Module cmdlets as SYSTEM. Specifically you notice it when trying to use them in DSC, like with cPSGet.

    I've added a link…

    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. Get-Help should provide the ability to exclude the path from all references to the script's name in the generated help

    Votes from Connect: 4

    Original Date Submitted: 7/16/2014 11:54:14 PM

    Description:
    ********Contact Information********
    Handle: sba
    Site Name: PowerShell
    Feedback ID: 921889
    ***************************************

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

    Problem Description:
    When I invoke:

    PS> Get-Help .\foo.ps1

    I get something like:

    NAME
    c:\users\sto\somedir\somesubdir\more\foo.ps1

    SYNOPSIS
    Some useful script


    SYNTAX
    c:\users\sto\somedir\somesubdir\more\foo.ps1 -logdir <String> -outputdir <String> [-debugmode]
    [<CommonParameters>]

    c:\users\sto\somedir\somesubdir\more\foo.ps1 -zipfile <String> -outputdir <String> [-debugmode]
    [<CommonParameters>]

    There should be a means to remove the (most often useless) "c:\users\sto\somedir\somesubdir\more\" paths, for instance when using the help text in documentation, or sharing it over email, the reader most likely won't have the…

    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 →
  6. Add-Type warns about no public members or properties on non-empty nested classes

    Votes from Connect: 3

    Original Date Submitted: 7/10/2014 7:08:54 PM

    Description:
    ********Contact Information********
    Handle: Derp McDerp
    Site Name: PowerShell
    Feedback ID: 917335
    ***************************************

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

    Problem Description:
    PowerShell wrongly warns about the following valid code:

    <#PS#> Add-Type -TypeDefinition @'

    public static class Outer {
    public struct Inner {
    public int x;
    }
    }

    '@
    WARNING: The generated type defines no public methods or properties.

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

    Repro Steps:
    Expected Results:

    Internal BugId: 8884

    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. Set-Acl Overwrites SACL when Run as Administrator

    Votes from Connect: 5

    Original Date Submitted: 7/4/2014 10:53:07 PM

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

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

    Problem Description:
    The Set-Acl cmdlet overwrites the SACL (and appears to protect it) when called by an administrator (even when the security descriptor object contains no SACL information at all). This can cause a populated SACL to be completely cleared when a user is expecting just DACL modifications.

    This happens in PSv4. I think I recall seeing it in versions 2 and 3, but…

    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. Get-ADComputer - Example 1 does not work

    Votes from Connect: 3

    Original Date Submitted: 6/24/2014 2:27:32 AM

    Description:
    ********Contact Information********
    Handle: 8246jd
    Site Name: PowerShell
    Feedback ID: 903885
    ***************************************

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

    Problem Description:
    The help file contains the following example:

    PS C:\> Get-ADComputer -Identity "Fabrikam-SRV1" -Properties *

    When done in my environment with a Identity name in my AD I receive the following error:

    Get-ADComputer : One or more properties are invalid.
    Parameter name: msDS-AssignedAuthNPolicy
    At line:1 char:1
    + Get-ADComputer -Identity "Fabrikam-SRV1" -Properties *
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : InvalidArgument: (Fabrikam-SRV1:ADComputer) [Get-ADComputer], ArgumentException
    + FullyQualifiedErrorId :…

    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. Doubled double quotes in inline expressions within expandable strings

    Votes from Connect: 3

    Original Date Submitted: 6/23/2014 5:09:33 PM

    Description:
    ********Contact Information********
    Handle: Ivan Akcheurov
    Site Name: PowerShell
    Feedback ID: 903486
    ***************************************

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

    Problem Description:
    "Fancy string - Hor""ray"
    # outputs correctly (only one double quote): Fancy string - Hor"ray

    'Hor"ray'.Replace('"', '""')
    # outputs correctly (two double quotes): Hor""ray

    "Fancy string - $('Hor"ray'.Replace('"', '"'+'"'))"
    #outputs correctly (two double quotes): Hor""ray

    "Fancy string - $('Hor"ray'.Replace('"', '""'))"
    # outputs INCORRECTLY (only one double quote): Fancy string - Hor"ray

    In my opinion, developers would intuitively expect, that within "$(inline expressions)"…

    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. Azure module conflict with Storage module

    Votes from Connect: 11

    Original Date Submitted: 6/5/2014 4:37:24 AM

    Description:
    ********Contact Information********
    Handle: keseph
    Site Name: PowerShell
    Feedback ID: 888873
    ***************************************

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

    Problem Description:
    Using the latest versions of the Azure PowerShell module from the Web Platform Installer on an otherwise-clean image of Windows Server 2012 R2 Datacenter from the Azure Gallery, you cannot import the Storage module after importing the Azure module. You receive a long string of errors starting with:
    ---
    PS C:\> Import-Module Storage
    Import-Module : Cannot process Cmdlet Definition XML for the following…

    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. SCVMM and SCDPM PowerShell Modules can't work together

    Votes from Connect: 13

    Original Date Submitted: 5/14/2014 10:32:59 PM

    Description:
    ********Contact Information********
    Handle: Мухаметшин Наиль
    Site Name: PowerShell
    Feedback ID: 873348
    ***************************************

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

    Problem Description:
    Good day everyone!

    Very strange issue: when i try to load together Virtual Machine Manager 2012 and Data Protection Manager 2012 modules - script fails:

    PS C:\Windows\system32> ipmo virtualmachinemanager
    PS C:\Windows\system32> ipmo DataProtectionManager
    Import-Module : Could not load type 'Microsoft.Internal.EnterpriseStorage.Dls.Utils.AlertTypes.AlertEnum' from assembly
    'Utils, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
    At C:\Program Files\Microsoft System Center 2012 R2\DPM\DPM\bin\Modules\DataProtectionManager\DataProtectionManager.psm
    1:2 char:1
    + Import-Module (Join-Path $cmdletDllPath ObjectModelCmdlet.dll)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo…

    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. Update-Help shouldn't require running as admin

    Votes from Connect: 12

    Original Date Submitted: 3/12/2014 7:14:43 PM

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

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

    Problem Description:
    Hi all,

    I think that it is a constant annoyance having to update-help on new servers or workstations. In my opinion, there is really no reason that Update-help should require me to relaunch Help as an admin user, as that requires launching a separate instance of the console.

    THanks,

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

    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. Install-WindowsFeature docs incomplete

    Votes from Connect: 28

    Original Date Submitted: 1/4/2014 6:13:19 AM

    Description:
    ********Contact Information********
    Handle: PowerShellDon
    Site Name: PowerShell
    Feedback ID: 812950
    ***************************************

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

    Problem Description:
    Install-WindowsFeature is missing important instructions and caveats with regard to the -Source parameter.

    First, it does not provide examples of the correct path syntax when pointing to a WIM image (e.g., "wim:/c:/sources/install.wim:3", including an explanation of the numeric index). The help does suggest pointing to a WIM image, but without the right path syntax, it's hard to get it to actually work. The numeric index…

    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. Desired State Configuration help file is named about_DesiredStateConfiguration instead of about_Desired_State_Configuration

    Votes from Connect: 3

    Original Date Submitted: 12/10/2013 12:59:41 AM

    Description:
    ********Contact Information********
    Handle: David Wyatt
    Site Name: PowerShell
    Feedback ID: 811097
    ***************************************

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

    Problem Description:
    The TOPIC line of the help file says "about_Desired_State_Configuration", which is consistent with the naming of other PowerShell help files, but the actual file name is about_DesiredStateConfiguration.

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

    Repro Steps:
    Expected Results:

    Internal BugId: 6515

    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 →
  15. Windows 8.1 - Powershell 4.0 Get-ADComputer -Properties * bug

    Votes from Connect: 72

    Original Date Submitted: 10/24/2013 11:12:10 PM

    Description:
    ********Contact Information********
    Handle: jbarkl3y
    Site Name: PowerShell
    Feedback ID: 806452
    ***************************************

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

    Problem Description:
    When running the Get-ADComputer command I run into the following. There has been a couple of posts on this error but they are related to Powershell 3.0 and can be fixed by changing your AD Schema to version 47. This bug still exists except now my Schema version is 47 and the bug still persists.

    Get-ADComputer : One or more properties are invalid.
    Parameter name:…

    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 →
  16. Centralized Package Management for Power Shell

    Votes from Connect: 11

    Original Date Submitted: 9/10/2013 2:56:23 AM

    Description:
    ********Contact Information********
    Handle: deadlydog
    Site Name: PowerShell
    Feedback ID: 800050
    ***************************************

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

    Problem Description:
    Centralized Package Management would be a huge win for PowerShell. Modules are a great part of PowerShell, but writing scripts for other people/computers that depend on them can be problematic, as you can't guarantee that the modules will be installed on those computers. If PowerShell had something similar to Ruby Gems that would be great, where at the top of the script you specify the…

    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. Need a clean way to splat a hashtable against the various commands that take an ArgumentList

    Votes from Connect: 11

    Original Date Submitted: 8/16/2013 7:15:31 AM

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

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

    Problem Description:
    There are several commands that have an ArgumentList parameter that take arguments bound for a PowerShell command. However, this parameter doesn't support splatting in any sort of easy and/or obvious way.

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

    Repro Steps:
    create a file $home\icmargs.ps1 with these contents:

    Param(
    [Parameter(Mandatory, Position=0)]
    [string]$Computername=$env:computername,
    [string]$log,
    [int]$newest=5 …

    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. Get-Acl should produce nonterminating errors when it fails to access a file or directory

    Votes from Connect: 11

    Original Date Submitted: 7/20/2013 11:16:28 AM

    Description:
    ********Contact Information********
    Handle: David Wyatt
    Site Name: PowerShell
    Feedback ID: 794618
    ***************************************

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

    Problem Description:
    Get-Acl currently throws terminating errors anytime it fails to access a file or directory, even though it accepts an array of strings for the Path / LiteralPath parameters, and accepts pipeline input. Per Microsoft's guidelines for cmdlet error reporting (http://msdn.microsoft.com/en-us/library/windows/desktop/ms714412(v=vs.85).aspx), it seems like these should be non-terminating errors, as they are related to a specific input object, and should not prevent processing…

    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 →
  19. A cmdlet should be available for waiting for event log entries

    Votes from Connect: 17

    Original Date Submitted: 7/14/2013 10:21:11 PM

    Description:
    ********Contact Information********
    Handle: Jan Egil Ring
    Site Name: PowerShell
    Feedback ID: 793869
    ***************************************

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

    Problem Description:
    A cmdlet should be available for waiting for event log entries. Currently the user will need to manually configure an event subscription in order to listen for new event log entries.
    A new cmdlet (for example Wait-EventLog) should be available and capable of listening for new events in one or more specified event logs, both from local and remote computers.

    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 →
  20. PowerShell script cannot be ran outside of Console if path contains spaces

    Votes from Connect: 11

    Original Date Submitted: 5/29/2013 2:52:43 AM

    Description:
    ********Contact Information********
    Handle: deadlydog
    Site Name: PowerShell
    Feedback ID: 788806
    ***************************************

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

    Problem Description:

    If you try and run a PowerShell script from File Explorer (e.g. Windows Explorer) by double clicking on it, or from the context menu using Open With -> Windows PowerShell the script will not run; instead the PowerShell console will display an error that the given file path is not valid, since only the first portion (up to the first space) of the script file…

    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 →
  • Don't see your idea?

Feedback and Knowledge Base