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. Copy-Item PowerShell silently continues when source is a network share that does not exist

    Votes from Connect: 5

    Original Date Submitted: 4/9/2015 6:41:07 AM

    Description:
    Contact Information
    Handle: Snooks911
    Site Name: PowerShell
    Feedback ID: 1234831


    Frequency: PowerShell
    Regression: Run the following from any powershell window:
    Copy-Item \server\share\thisdoesnotexist* -Destination c:\temp -ErrorAction Stop;

    where "\server\share\thisdoesnotexist" refers to a network location that does not exist.

    Problem Description:
    I'm seeing a strange behavior with the "Copy-Item" cmdlet. It looks like the cmdlet errors out if the source location is a local location that does not exist, but completely ignores that if the source is a network location that does not exist.

    For e.g.

    Copy-Item \server\share\thisdoesnotexist* -Destination c:\temp -ErrorAction…

    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. PS5 Classes: InvalidCastException FunctionMemberAst to FunctionDefinitionAst

    Votes from Connect: 4

    Original Date Submitted: 3/25/2015 9:08:08 AM

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


    Frequency: PowerShell
    Regression:

    Problem Description:
    When working with classes in PowerShell 5 inheritance. I can reproduce, but it's complicated (a custom job type), and involves receiving messages over the network which triggers an event handler. I can't seem to repro in simpler classes. The crash is killing the job and the parent PowerShell as well, and frankly, I hope if you see the Message, you may not need the repro...

    System.InvalidCastException was caught
    HResult=-2147467262
    Message=Unable to cast…

    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 →
  3. Get-ADPrincipalGroupMembership error with '/' in property 'name' of ADUser.

    Votes from Connect: 3

    Original Date Submitted: 3/19/2015 9:59:40 PM

    Description:
    Contact Information
    Handle: Nono2722
    Site Name: PowerShell
    Feedback ID: 1190397


    Frequency: PowerShell
    Regression: Get-ADPrincipalGroupMembership -Identity 'User01'

    ADUser :
    DistinguishedName : CN=LastName FirstName DPT/SVC/UNIT,OU=Standard Users,DC=domain,DC=root
    SamAccountName : User01
    sn : LastName
    GivenName : FirstName
    DisplayName : LastName FirstName DPT/SVC/UNIT

    Problem Description:
    Get-ADPrincipalGroupMembership return "Get-ADPrincipalGroupMembership : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the <serviceDebug> configuration behavior) on the server in order to send the exception information back to the…

    4 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. Expand-WindowsImage fails to show progress...

    Votes from Connect: 3

    Original Date Submitted: 3/17/2015 7:47:07 AM

    Description:
    Contact Information
    Handle: Keith Garner
    Site Name: PowerShell
    Feedback ID: 1185163


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

    Problem Description:
    The Expand-WindowsImage cmdlet, although it shows a progress bar on the screen, the contents remain stuck at 0% during most of the application of the windows image.

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

    Repro Steps:
    Run Expand-WindowsImage from a large *.wim file to a new drive.

    Expected Results:
    Expect that Expand-WindowsImage should…

    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 →
  5. PowerShell ISE does not have a comment/uncomment shortcut/toolbar button

    Votes from Connect: 6

    Original Date Submitted: 9/23/2014 10:09:48 AM

    Description:
    Contact Information
    Handle: vs2010junkie
    Site Name: PowerShell
    Feedback ID: 979511


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

    Problem Description:
    Most IDEs in general provide the ability to comment/uncomment blocks of code using a toolbar button or a shortcut key. This includes competing PowerShell editors such as PrimalScript and PowerGUI. However, the PowerShell ISE does not have such a feature even though pretty much every other tool in the Microsoft suite does such as Visual Studio and SQL Server Management Studio.

    Therefore, this feature should also…

    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 →
  6. Support paragraph wrapping in comment-based help

    Votes from Connect: 7

    Original Date Submitted: 8/16/2014 9:03:30 PM

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


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

    Problem Description:
    Today if you wrap the text you enter for synopsis, description, parameters, etc. inside your comment-based help, PowerShell will output the help text for those fields exactly as it is displayed in the file. The trouble with this is that you really want two things:


    1. To wrap the text based on the size of the window where it is displayed, when someone opens the help.
    4 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 →
  7. Workflows using multiple InlineScripts with the PSComputerName does not get correct variables from the workflow when using "$Using" scoping.

    Votes from Connect: 12

    Original Date Submitted: 6/12/2014 7:30:42 PM

    Description:

    Contact Information
    Handle: Trond Hindenes
    Site Name: PowerShell
    Feedback ID: 894721


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

    Problem Description:
    When a workflow uses multiple "InlineScript {} -PsComputerName" against the same remote computer, and the inlinescript scopes variables using "$Using", the workflow doesn't read variables correctly. I have documented this in a example which is located at https://gist.github.com/trondhindenes/5249e861eb4bb98f5e15

    Basically, my example contains a workflow which connects to a domain controller using InlineScript and attempts to create a computer account in the domain. I…

    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. Auto-completed values, with spaces, do not have quotes around them

    Votes from Connect: 26

    Original Date Submitted: 12/24/2013 3:09:38 AM

    Description:

    Contact Information
    Handle: Trevor Sullivan
    Site Name: PowerShell
    Feedback ID: 812233


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

    Problem Description:
    When auto-completing a parameter value that has spaces in it, PowerShell is not adding single or double quotes around the value to contain it as a single entity.

    PowerShell should, by default, add single or double quotes around auto-completed values, when spaces are contained in the value.

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

    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 →
  9. DCR: Dismount-WindowsImage needs a -Force parameter

    Votes from Connect: 21

    Original Date Submitted: 11/21/2013 4:02:13 AM

    Description:

    Contact Information
    Handle: Trevor Sullivan
    Site Name: PowerShell
    Feedback ID: 809144


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

    Problem Description:
    We've all been there before.

    It was a dark, stormy night, and from within your home shines a bright light of several computer monitors. Empty beer bottles litter the place, but nonetheless you keep typing away at your PowerShell console.

    You try to dismount a WIM file using image.exe, dism.exe, or now in the modern day, the "dism" module for Windows PowerShell, and you get…

    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 →
  10. In Windows 8(.1), the new Win+X menu should default to PowerShell.

    Votes from Connect: 42

    Original Date Submitted: 9/12/2013 8:38:38 AM

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


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

    Problem Description:
    In the task bar properties dialog in Windows 8.1 there is a new tab "Navigation" which has on it a checkbox: "Replace Command Prompt with Windows PowerShell in the menu when I right-click the lower-left corner or press Windows key+X"

    Why is it that in a new OS, with a brand new menu, the defaults are still set to 1999? That is,…

    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 →
  11. PowerShell ISE consumes all memory on some systems when you run Invoke-WebRequest

    Votes from Connect: 15

    Original Date Submitted: 10/21/2012 3:38:47 AM

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


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

    Problem Description:
    Joel Bennett, myself, and Claus Nielsen can all reproduce this at will in our own independently managed environments. Others cannot reproduce it at all. On some systems when you invoke the Invoke-WebRequest command in PowerShell ISE and then later close PowerShell ISE, the process stays open even though the window closes, and much worse, the process memory consumption grows non-stop. I have twice…

    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 →
  12. -ErrorAction Ignore is broken for Advanced Functions

    Votes from Connect: 15

    Original Date Submitted: 9/20/2012 4:25:37 AM

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


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

    Problem Description:
    If you create an advanced function and then invoke that function with -ErrorAction Ignore (a new value added to PowerShell 3), PowerShell sets $errorActionPreference to Ignore for the function scope before executing the body of the function. Yet in PowerShell 3, the value of Ignore is not supported for errorActionPreference, so you end up with a function that will return one replaced error…

    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 →
  13. A cmdlet to create a proxy configuration settings object

    Votes from Connect: 58

    Original Date Submitted: 7/18/2012 1:09:59 AM

    Description:
    Contact Information
    Handle: Aleksandar Nikolić
    Site Name: PowerShell
    Feedback ID: 754102


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

    Problem Description:
    The problem: Update-Help, Save-Help, and Get-Help (when used with -Online parameter) don't support proxy servers. There might be some others too.

    Some cmdlets (Invoke-RestMethod, Invoke-WebRequest, New-PSSessionOption, and New-WSManSessionOption) have support for proxy servers. A support is provided per cmdlet with different parameters (Invoke-RestMethod and Invoke-WebRequest support Proxy, ProxyCredentail, and ProxyUseDefaultCredentials parameters; New-PSSessionOption and New-WSManSessionOption support ProxyAccessType, ProxyAuthentication, and ProxyCredentail).

    Wouldn't it be nice to have…

    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 →
  14. 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 →
  15. 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 →
  16. 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 →
  17. 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('&#39;)[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 →
  18. Support converting to/from clixml format without unnecessary file I/O

    Votes from Connect: 15

    Original Date Submitted: 3/2/2010 4:05:15 AM

    Description:
    Contact Information
    Handle: Kirk Munro (Quest Software)
    Site Name: PowerShell
    Feedback ID: 537755


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

    Problem Description:
    Today you can export PowerShell objects using Export-Clixml and then import them deserialized using Import-Clixml. The trouble with this is that you don't always want to use an external file. Sometimes you want an external file, sure, but many other times you want to store the deserialized object data elsewhere or you want to pass it across a remote connection to a client,…

    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 →
  19. "Open PowerShell window here" broken if file path contains a single quote

    If the current directory, or any of its parent directories, contains a single quote in its name, doing "Open PowerShell window here" in it results in the following:

    The string is missing the terminator: '.

    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

    PS C:\WINDOWS\system32>

    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 →
  20. Clear-Disk is failing without error.

    Clear-Disk is not un-initialising a disk, I go to run the initialize-disk command immediately after and get the error that the disk is already initialized. How do I solve this?

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

Feedback and Knowledge Base