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. UserLandingPageIdentifierForO365Shell

    Votes from Connect: 4

    Original Date Submitted: 5/19/2015 9:43:06 PM

    Description:
    ********Contact Information********
    Handle: hguo83
    Site Name: PowerShell
    Feedback ID: 1347366
    ***************************************

    Problem Description:
    Need powershell to set this parameter: UserLandingPageIdentifierForO365Shell

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

    Repro Steps:

    Internal BugId: 14488

    1 vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
    • New-Object fails on a class whose GetEnumerator method throws NotSupportedException

      Votes from Connect: 3

      Original Date Submitted: 12/11/2014 7:11:16 AM

      Description:
      ********Contact Information********
      Handle: Clint Stotesbery
      Site Name: PowerShell
      Feedback ID: 1051712
      ***************************************

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

      Problem Description:
      I've run into a rare case. I can't use New-Object on a class whose GetEnumerator method throws NotSupportedException. System.Security.Cryptography.Xml.SignedInfo's GetEnumerator method throws a NotSupportedException: http://msdn.microsoft.com/en-us/library/system.security.cryptography.xml.signedinfo.getenumerator(v=vs.110).aspx

      The stack trace shows TypicalEnumerable as this method catches Exception and then rethrows it as an ExtendedTypeSystemException. I followed the complete stacktrace (hint: there are delegates involved not in the stack trace) and I can't figure out a way…

      1 vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        I agree to the terms of service
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
      • 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
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          I agree to the terms of service
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
        • 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
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            I agree to the terms of service
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
          • 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
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              I agree to the terms of service
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
            • Add formatting to Get-Help's output

              Votes from Connect: 6

              Original Date Submitted: 7/10/2014 9:26:39 PM

              Description:

              ********Contact Information********
              Handle: sba
              Site Name: PowerShell
              Feedback ID: 917423
              ***************************************

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

              Problem Description:
              As of PS4, the output from Get-Help looks very much like a Unix manpage in the 1970s: no colors, no underline, no bold (only some with -ShowWindow)...

              In 2014, I would expect formatted output -- see attached files to get... the picture ;-)

              The ability to have Get-Help output to a browser window, from where one would be able to print, would also be nice…

              1 vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                I agree to the terms of service
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
              • 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
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  I agree to the terms of service
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                • German installer for Microsoft Security Essentials has wrong messages

                  Votes from Connect: 3

                  Original Date Submitted: 1/2/2015 7:28:29 AM

                  Description:
                  ********Contact Information********
                  Handle: Roland Illig 2
                  Site Name: PowerShell
                  Feedback ID: 1073011
                  ***************************************

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

                  Problem Description:
                  The German version of the installer for Microsoft Security Essentials has two wrong translations:

                  1. „Falls keine Firewall aktiviert ist, aktivieren Sie die Windows-Firewall (empfohlen).“

                  This text should not even be in the installer in this form. Either the firewall is already activated, then the checkbox is useless and must not be shown at all. Or the firewall is not already activated, then…

                  1 vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    I agree to the terms of service
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                  • 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
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      I agree to the terms of service
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                    • Hashtables --- [ordered] hashtables lack the ContainsKey() method

                      Votes from Connect: 3

                      Original Date Submitted: 7/11/2014 1:59:10 PM

                      Description:
                      ********Contact Information********
                      Handle: Diogenus
                      Site Name: PowerShell
                      Feedback ID: 917914
                      ***************************************

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

                      Problem Description:
                      Normal hashtables have the method "ContainsKey":

                      >> $h = @{ a=1; b=2 }
                      >> $h.ContainsKey("a")
                      True
                      >>

                      While [Ordered] hashtables DO NOT have the "ContainsKey" method:

                      >> $o = [ORDERED] @{ a=1; b=2 }
                      >> $o.ContainsKey("a")
                      Method invocation failed because
                      [System.Collections.Specialized.OrderedDictionary]
                      doesn't contain a method named 'ContainsKey'.

                      This means that my code never can use the ContainsKey() method on a hashtable before checking…

                      1 vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        I agree to the terms of service
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                      • 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
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          I agree to the terms of service
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                        • 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
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            I agree to the terms of service
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                          • 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
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              I agree to the terms of service
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
                            • 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
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                I agree to the terms of service
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                              • 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
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  I agree to the terms of service
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
                                • "Windows Security Warning" dialog box cannot be dismissed

                                  Votes from Connect: 7

                                  Original Date Submitted: 7/17/2014 5:22:27 PM

                                  Description:
                                  ********Contact Information********
                                  Handle: Invoke-Alex
                                  Site Name: PowerShell
                                  Feedback ID: 922384
                                  ***************************************

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

                                  Problem Description:
                                  Certain sites will cause a dialog box with the title "Windows Security Warning" and contents "To allow this website to provide information personalized for you, will you allow it to put a small file (called a cookie) on your computer?" to open.

                                  If the Invoke-WebRequest command is done manually, I can dismiss the dialog box. However, if the Invoke-WebRequest is called from a script via…

                                  1 vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    I agree to the terms of service
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Powershell in Windows RT fails to Run Implicit Remoting to Powershell 2.0

                                    Votes from Connect: 11

                                    Original Date Submitted: 11/5/2012 5:15:07 AM

                                    Description:
                                    ********Contact Information********
                                    Handle: Sean Kearney
                                    Site Name: PowerShell
                                    Feedback ID: 770035
                                    ***************************************

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

                                    Problem Description:
                                    When Executing a PS-Remoting Session from a Microsoft Surface Device with Windows RT using Powershell 3.0 to Powershell 2.0 on a remote server (with defined trusts in WinRM) Implicit remoting fails

                                    An interactive session on the x64 Remote server works fine, but using an IMPORT-PSSESSION with -prefix parameter fails to produce any available cmdlets.

                                    EXPORT-PSSESSION will produce a module on the local…

                                    1 vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      I agree to the terms of service
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                    • PowerShell remoting DirectoryServices.DirectorySearcher object garbled.

                                      Votes from Connect: 18

                                      Original Date Submitted: 12/13/2010 7:55:24 PM

                                      Description:
                                      ********Contact Information********
                                      Handle: HPH2
                                      Site Name: PowerShell
                                      Feedback ID: 630828
                                      ***************************************

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

                                      Problem Description:
                                      From: http://social.technet.microsoft.com/Forums/en-US/ITCG/thread/7d2a0b0e-254f-4725-9c02-20744cd3cdd5/

                                      Powershell version 2.0

                                      Background:
                                      I have a script successfully assembling information about servers in our primary domain.
                                      Now i am trying to use PowerShell Remoting to include information about servers in our DMZ zones.
                                      This works great.

                                      Except when i try to query the Active Directory.

                                      Following runs fine in a powershell window on the server dzms01 in a remote desktop session:

                                      1 vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        I agree to the terms of service
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Get-ItemProperty in registry should return value type.

                                        Votes from Connect: 13

                                        Original Date Submitted: 12/20/2010 5:55:34 AM

                                        Description:
                                        ********Contact Information********
                                        Handle: Bartek Bielawski
                                        Site Name: PowerShell
                                        Feedback ID: 632464
                                        ***************************************

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

                                        Problem Description:
                                        Currently I see no easy way to get type of registry values. Info presented by Get-ItemProperty is not very helpful. I found workaround for that (sample):
                                        $key = Get-Item 'HKLM:\software\Microsoft\windows\CurrentVersion\policies\Explorer'
                                        $Property = @{Name = 'Property'; Expression = {$_}}
                                        $Value = @{Name = 'Value'; Expression = {$key.GetValue($_) }}
                                        $ValueType = @{Name = 'Value Type'; Expression = {$key.GetValueKind($_)}}
                                        $key.Property | select $Property, $Value, $ValueType
                                        I think…

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          I agree to the terms of service
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Please add documentation in French language for PowerShell 3.0

                                          Votes from Connect: 114

                                          Original Date Submitted: 1/11/2013 5:50:47 PM

                                          Description:
                                          ********Contact Information********
                                          Handle: Arnaud Petitjean
                                          Site Name: PowerShell
                                          Feedback ID: 776313
                                          ***************************************

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

                                          Problem Description:
                                          * Unlike the previous versions (1.0 and 2.0) *, in PowerShell 3.0 there are no help files available in French language.

                                          I would consider missing help as top priority here. Even for peoples who can read English, there is a big danger to misunderstood something. Reading documentation in a foreign language can be very challenging.

                                          Calling the -online Help every time I…

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            I agree to the terms of service
                                            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