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. Unable to scrape certain pages for unknow reason

    Votes from Connect: 13

    Original Date Submitted: 3/19/2013 4:55:10 AM

    Description:
    Contact Information
    Handle: weqew
    Site Name: PowerShell
    Feedback ID: 781613


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

    Problem Description:

    When trying to use Invoke-webrequest on Microsoft Download it just hangs on certain pages. The cmdlet with the parameters down below just hangs forever. Even with a timeoutparameter it just stops.

    Invoke-Webrequest -UseBasicParsing http://www.microsoft.com/en-us/download/details.aspx?id=26617

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

    Repro Steps:
    Invoke-Webrequest -UseBasicParsing http://www.microsoft.com/en-us/download/details.aspx?id=26617

    Expected Results:

    Expected to get some result about…

    3 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  2. Add an option to Invoke-RestMethod to send HTTP Basic Authentication immediatly

    Votes from Connect: 11

    Original Date Submitted: 6/5/2012 2:35:42 PM

    Description:
    Contact Information
    Handle: Markus Essl
    Site Name: PowerShell
    Feedback ID: 746546


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

    Problem Description:
    Currently, when you use Invoke-RestMethod, it will only send http basic authentication headers when a access denied response is coming from the server. Quite some REST web services (like Jira) do not do that, because they (a) allow anonymous users as well as authenticated ones and/or (b) they want to avoid the unneccessary round trip.

    wget and curl have corresponding options to allow to…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  3. Make the ISE Toolbar Extensible via $PSISE

    Votes from Connect: 13

    Original Date Submitted: 1/19/2012 11:46:28 PM

    Description:
    Contact Information
    Handle: Steve Murawski
    Site Name: PowerShell
    Feedback ID: 719357


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

    Problem Description:
    The ISE toolbar has a lot of unused space and there have been suggestions for other items to be added to the toolbar.

    Could you make the toolbar extensible via the $PSISE variable? This would allow add-on authors to offer toolbar buttons for their extensions.

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

    Repro Steps:
    The…

    5 votes
    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 →
  4. Pipe operator corrupts raw binary data

    Votes from Connect: 20

    Original Date Submitted: 9/29/2011 4:41:03 AM

    Description:
    Contact Information
    Handle: Noldorin
    Site Name: PowerShell
    Feedback ID: 691490


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

    Problem Description:
    The pipe operator in PowerShell 2.0 (| and similarly >) corrupts binary data, so that it is impossible to pipe the standard inputs and outputs of traditional programs / EXEs through each other using binary data. This makes me resort to cmd.exe for many tasks and is really prohibiting adoption in my view.

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

    5 votes
    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. Update-ModuleManifest fails on UNC path

    Running Update-ModuleManifest on a psd1 saved on the network with a UNC path fails as the ScriptsToProcess, TypesToProcess and FormatsToProcess attributes are set incorrectly in the new manifest.

    Example against the AzureRM.profile manifest:

    Original AzureRm.Profile.psd1 contains

    Format files (.ps1xml) to be loaded when importing this module

    FormatsToProcess = @(

    '.\Microsoft.Azure.Commands.Profile.format.ps1xml'
    

    )

    Running
    Update-ModuleManifest -Path "\<some unc path>\AzureRm.Profile.psd1" -ModuleVersion 1.0.3

    Gives error

    Update-ModuleManifest : Cannot update the manifest file '\<some UNC path>\AzureRM.Profile.psd1' because the manifest is not
    valid. Verify that the manifest file is valid, and then try again.'The member 'FormatsToProcess' in the module manifest is not valid: Cannot find path…

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  6. F8 for searching command history is case-sensitive

    If I have

    ls Foo.*

    in my command history, then:

    ls f<F8>

    will not find it because F8 is case-sensitive

    2 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. Out-GridView doesn't display underscores found in property names

    If an object property name contains an underscore, and this object is displayed using Out-GridView, the column title doesn't contain the underscore, for instance "foo_bar" becomes "foobar."

    2 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 →
  8. Need better incremental history search

    The incremental history search (Ctrl-R, Ctrl-S?) in bash is VERY nice and we need it in PowerShell. (Combined with saving history into a file, it would be great.)

    The F8 function of the console is not sufficient because it assumes the string typed is a prefix of the command. It should be an arbitrary substring, because often commands start with the same prefix and differ by some parameters.

    I wrote a function 'last' to attempt something similar, but it's not nearly as good. It needs to be supported from the line editor interface.

    runs the last command in the history

    2 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 →
  9. Get-WmiObject examples contain real Dell Service Tag

    I do not know if this is something anybody actually has any concerns over, but I noticed that Example 6 listed for the Get-WmiObject cmdlet help contains a real Dell Service tag, at least in the PowerShell 3.0 documentation. I was able to track this service tag to an Optiplex 980 shipped on 1/20/2011. This may just be a Microsoft lab machine, but it seems like something that should be cleansed from the documentation. I feel a little foolish reporting this, and I'm not sure how hard it is to do anything with this number, but I thought I'd let…

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  Documentation  ·  Flag idea as inappropriate…  ·  Admin →
  10. Implicit remoting and tab completion for ValidateSet

    Enable tabbing for parameters that define a list of valid options when using implicit remoting. I originally found this using v4 but have also tested in v5 and I get the same results.

    > Test-T<tab> <-- works
    > Test-Tab -<tab> <--works
    > Test-Tab -Option <tab> <-- does not work

    There are a few more details in my post on reddit: https://www.reddit.com/r/PowerShell/comments/3wscnc/implicitremotingandtabcompletion/

    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 →
  11. BUG: DSC resource name cannot start with a number if another resource depends on it

    I have a resource named [xHotfix]2012R2_April2014CU and if I use that in the depends on field for another resource, I get this error:

    Test-DependsOn : The format of the resource reference '[xHotfix]2012R2CU1' in the Requires list for resource '[xHotfix]2012R2April2014CU::[ContosoWindowsUpdates]SampleConfig' is not valid. A required resource name should be in the format '[<typename>]<name>', with alphanumeric characters, spaces, '', '-', '.' and '&#39;.

    If I add an alpha character to the resource name, then it generates correctly.

    xHotfix 2012R2_CU1

        {
    
    Path = &quot;$InstallRoot\WindowsUpdates\2012R2\Windows8.1-KB2919355-x64.msu&quot;
    Id = &quot;KB2919355&quot;
    Ensure = &quot;Present&quot;
    DependsOn = &quot;[WindowsFeature]DotNetFX3dot5&quot;
    }

    xHotfix 2012R2_April2014CU
    {
    Path =…

    3 votes
    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 →
    investigating  ·  Mark Gray responded

    Thanks for the feedback!

    We have looked into this issue and cannot seem to reproduce it in the latest builds WMF 5.0 RTM. Please try to reproduce it with the RTM bits and let us know if you still have the issue.

    Regards,

    MarkG

  12. Exclude parameter doesn't work on Get-ChildItem (ls alias) at root drive folder

    Votes from Connect: 3

    Original Date Submitted: 10/30/2015 7:31:59 PM

    Description:
    Contact Information
    Handle: Aurélien Lustrement
    Site Name: PowerShell
    Feedback ID: 1961824


    Frequency: PowerShell
    Regression: Open PS and change directory to "C:&quot;
    Enter command "ls -Exclude Users".
    The command returns nothing

    Problem Description:
    Command "ls -Exclude Something" always returns nothing if executed at root drive folder. Perfectly works on any other subfolder.
    Tested on Win7 (PS 2.0 & 5.0) and Win10.

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

    Repro Steps:
    Open PS and change directory to "C:&quot;
    Enter command "ls…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  13. Add PSValidFrom/PSValidTo common properties for DSC resources

    Votes from Connect: 10

    Original Date Submitted: 10/6/2015 1:58:16 AM

    Description:
    Contact Information
    Handle: PowerShellDon
    Site Name: PowerShell
    Feedback ID: 1871366


    Problem Description:
    Suggest adding a PSValidFrom and PSValidTo common property set (a la PSCredential). These would need to implicitly become part of the key when exporting the MOF. The idea is to help cover maintenance and task windows: From DateTime to DateTime, I want Service ___ Stopped; from DateTime to DateTime, I want it Started. So that becomes:

    Service BITS {
    Name=BITS
    Present=$True
    StartMode=Auto
    PSValidFrom=02:00:00UTC
    PSValidTo=21:00:00UTC
    }
    Service BITS {
    Name=BITS
    Present=$True
    StartMode=Disabled
    PSValidFrom=21:00:00UTC
    PSValidTo=02:00:00UTC
    }

    Considerations: DateTime could…

    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  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
  14. Connecting to Office 365 crashes WMF5 PowerShell.exe

    Votes from Connect: 6

    Original Date Submitted: 9/1/2015 2:33:33 PM

    Description:

    Contact Information
    Handle: Michel de Rooij
    Site Name: PowerShell
    Feedback ID: 1738789


    Frequency: PowerShell
    Regression: Open PowerShell session in Windows 10 build 10532
    $SessionEOP = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.protection.outlook.com/powershell-liveid/ -Credential (Get-Credential) -Authentication Basic -AllowRedirection

    Import-PSSession -Session $SessionEOP
    <Crash>

    Problem Description:
    When connecting to certain Office 365 services, like EOP, the PowerShell.exe in WMF5 crashes (Windows 10 builds 10525 and 10532 show this behavior). When connecting to the /powershell-liveid URL, session gets redirected to /powershell-liveid?PSVersion=5.0.10525.0 (or 10532 for that build) then abends with a 'PowerShell has stopped working'.

    Product…

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  15. Get-DscConfiguration Fails With Embedded CIM type

    Votes from Connect: 3

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

    Description:
    Contact Information
    Handle: Steve Murawski
    Site Name: PowerShell
    Feedback ID: 1721560


    Frequency: Desired State Configuration (DSC)
    Regression: install-module cWebAdministration
    configuration cWebsite_StopWebsite
    {

    param
    
    (
    # Target nodes to apply the configuration
    [string[]]$NodeName = &#39;localhost&#39;
    )

    # Import the module that defines custom resources
    Import-DscResource -ModuleName cWebAdministration

    Node $NodeName
    {
    # Install the IIS role
    WindowsFeature IIS
    {
    Ensure = &quot;Present&quot;
    Name = &quot;Web-Server&quot;
    }

    # Stop the default website
    cWebsite DefaultSite
    {
    Ensure = &quot;Present&quot;
    Name = &quot;Default Web Site&quot;
    State = &quot;Stopped&quot;
    PhysicalPath = &quot;C:\inetpub\wwwroot&quot;
    DependsOn = &quot;[WindowsFeature]IIS&quot; …

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  Desired State Configuration (DSC)  ·  Flag idea as inappropriate…  ·  Admin →
    investigating  ·  Mark Gray responded

    This should be resolved with WMF 5.0. Please let us know if this is reproducible with WMF 5.0 RTM.

  16. Unexpected behavior with UNC paths

    Votes from Connect: 4

    Original Date Submitted: 7/17/2015 7:14:42 PM

    Description:
    Contact Information
    Handle: sba
    Site Name: PowerShell
    Feedback ID: 1556276


    Frequency: PowerShell
    Regression: 1. Set the current location to somewhere in the registry
    cd HKLM:/Software/Microsoft


    1. Copy a file from one "drive-specified path" to another one:
      Copy-Item -Destination h:\tmp -Path E:\tmp\foo.csv

    This works fine.


    1. Attempt to copy a file from one "drive-specified path" to a UNC path:
      Copy-Item -Destination //nas/users/sba/tmp -Path E:\tmp\foo.csv

    This fails:

    Copy-Item : Source and destination path did not resolve to the same provider.
    At line:1 char:1
    + Copy-Item -Destination //nas/users/sba/tmp -Path E:\tmp\foo.csv
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo
    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  17. Add Reverse-String cmdlet

    Votes from Connect: 9

    Original Date Submitted: 7/16/2015 4:32:00 PM

    Description:
    Contact Information
    Handle: happysysadm
    Site Name: PowerShell
    Feedback ID: 1551725


    Problem Description:
    Hi,

    it would be nice to have a Reverse-String cmdlet. One that takes a string and reverse it. For example, "asdf" becomes "fdsa".

    It could be aliased to rs (for reverse-string).

    The reverse method for [array] is ok, but having a cmdlet and/or a [string] method. would be better.

    Other well-known languages have routines for this:

    For instance in Perl 6 you have the flip routine, which returns the string reversed character by character.
    "Perl".flip; # lreP …

    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  ·  Microsoft.PowerShell.* Modules  ·  Flag idea as inappropriate…  ·  Admin →
  18. IIF Statement (If Shorthand)

    Votes from Connect: 4

    Original Date Submitted: 7/2/2015 7:46:53 PM

    Description:
    Contact Information
    Handle: TheRealMartin9700
    Site Name: PowerShell
    Feedback ID: 1497806


    Problem Description:
    It would be great if PowerShell could get IIF-like functionality:

    IIF -Condition (condition) -True (true value) -False (false value)

    IIF ($a -gt 5) "Its bigger!" "Too small"

    IIF ($a -lt 5) { $b = "Too small" } { $b = "bingo!" }

    There are plenty of times where we need to make a quick value check and either set a variable or set a variable and going through the full IF syntax is a pain.

    Product Studio…

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  19. Import-Csv does not correctly detect encoding for UTF-8 files without BOM

    Votes from Connect: 6

    Original Date Submitted: 5/27/2015 3:02:36 AM

    Description:
    Contact Information
    Handle: electricmonk
    Site Name: PowerShell
    Feedback ID: 1371244


    Frequency: PowerShell
    Regression:

    Problem Description:
    Using Import-Csv on a UTF-8 file without a BOM will result in unrecognized extended characters

    Import-Csv -Encoding UTF8 does not work correctly either.

    Thanks to Joakim Svendsen for finding this:
    http://www.powershelladmin.com/wiki/Convertfrommostencodingstoutf8with_powershell

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

    Repro Steps:
    Expected Results:

    Internal BugId: 14513

    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  ·  PowerShell Engine  ·  Flag idea as inappropriate…  ·  Admin →
  20. Split-Path and PS-providers

    Votes from Connect: 3

    Original Date Submitted: 5/15/2015 7:18:48 PM

    Description:
    Contact Information
    Handle: Juho Lehto
    Site Name: PowerShell
    Feedback ID: 1335123


    Problem Description:
    I've been pulling my hair out long enough, so I decided to finally submit some feedback concerning Split-Path.

    Assuming you want to use Split-Path on UNC paths, such as something like \server\path, you're fine as long as you use FileSystem PS-provider. But if you switch to something different, such as registry or ActiveDirectory providers, Split-Path either spits out an error or produces null.

    Because in the end we have no control over what providers end-users may…

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

Feedback and Knowledge Base