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. Implement the && and || operators that bash has

    Votes from Connect: 22

    Original Date Submitted: 2/8/2013 8:32:38 AM

    Description:
    Contact Information
    Handle: antize
    Site Name: PowerShell
    Feedback ID: 778798


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

    Problem Description:
    Discussion about this at stackoverflow - http://stackoverflow.com/questions/563600/can-i-get-to-work-in-powershell

    Jeffery Snover said to request it here so here I am :D

    Here is a description of what they do -- http://www.gnu.org/software/bash/manual/bashref.html#Lists

    An AND list has the form

          command1 && command2
    

    command2 is executed if, and only if, command1 returns an exit status of zero.

    An OR list has the form

          command1 || command2
    

    command2 is executed if, and…

    96 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. Package PowerShell Classes in a Module

    Object Oriented Programming seems to be supported now in PowerShell, but custom classes defined in modules don't seem to behave the way they should.

    There only seem to be two consistent ways to make these work when importing a module that has classes defined:
    1. Import the module, then run "using module ..." to make the classes available in the session. Alternatively, you can import the module with the using statement, but this isn't ideal (no versioning).
    2. Add the class definition file(s) to the ScriptsToProcess attribute of the module. This isn't ideal either as it runs the scripts in…

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

    We’ll send you updates on this idea

    3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  3. Get-Certificate is misleading

    This cmdlet, rather than listing all certificates on the machine, which is how a Get-Cmdlet tents to work, instead Requests a new certificate from a Certificate Authority.

    This is NOT the way that Get- cmdlets are supposed to work. And we already have a perfectly good Request- verb sitting out there, which would be the right verb for this cmdlet.

    This would consitute a breaking change, but I think it's frankly broken today, so I'd call it a 'restorative change' instead.

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

    We’ll send you updates on this idea

    5 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  4. Missing trigger options in New-ScheduledTaskTrigger

    Votes from Connect: 3

    Original Date Submitted: 10/30/2014 5:41:25 PM

    Description:
    Contact Information
    Handle: ulrichb
    Site Name: PowerShell
    Feedback ID: 1015225


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

    Problem Description:
    New-ScheduledTaskTrigger offers just a subset of the trigger options. Things like "On an (event log) event", or "On workstation (un)lock" are missing.

    We just found ugly workarounds to add these (e.g. event log) triggers by using "schtasks.exe /create /xml" or using the COM "TaskScheduler" class.

    New-ScheduledTaskTrigger should allow specifying all options the Task Scheduler UI offers. As there already exists an XML representation of these triggers…

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

    We’ll send you updates on this idea

    3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  5. PSScriptRoot in ps1 script in PSv3 is empty in ISE

    Votes from Connect: 13

    Original Date Submitted: 11/1/2012 3:56:26 AM

    Description:
    Contact Information
    Handle: J Stangroome
    Site Name: PowerShell
    Feedback ID: 769359


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

    Problem Description:
    In the PSv3 documentation, $PSScriptRoot is now an automatic variable that is populated for both modules and ps1 scripts. It works from PowerShell.exe but not from the ISE

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

    Repro Steps:
    1. Create a new script (eg c:\test.ps1) with the contents: gv PSScriptRoot
    2. From PowerShell.exe, execute the…

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

    We’ll send you updates on this idea

    8 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  6. Create a SendTo-SysLog cmdlet and include it by default

    Please include by default a SendTo-Syslog cmdlet to send log messages to UNIX, Linux and SIEMs.

    If you were to add a syslog service role to send or accept syslog messages in a scalable way which integrated with the Windows event logs, that would be great too, but a cmdlet to just send UDP packets is easy enough to include in PoSh 5.1 right now.

    Thanks!

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

    We’ll send you updates on this idea

    6 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  7. PowerShell should support .Net extension methods

    Votes from Connect: 35

    Original Date Submitted: 9/22/2010 9:56:58 PM

    Description:
    Contact Information
    Handle: Joel "Jaykul" Bennett
    Site Name: PowerShell
    Feedback ID: 603415


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

    Problem Description:
    Currently PowerShell has it's own system (based on type.ps1xml files) for creating extension methods -- while this would have been admirable in the .Net 1.1 or 2.0 era, in the modern .Net Framework we already have Extension methods, and they do not work in PowerShell.

    As more and more of the .Net Framework itself and 3rd Party APIs begins to depend on extension methods…

    19 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. Bug: Powershell Get-Help does not work with Exchange Online cmdlets

    We've been lucky, from what I'm gathering from web searches! Until December last year, Exchange Online Powershell cmdlet help was available using Get-Help in the shell. However, after the Christmas break, the only response we get is:

    Get-Help : Exception calling "Invoke" with "0" argument(s): "Cannot find path '' because it does
    not exist."
    At line:1 char:1
    + Get-Help Get-Mailbox
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-Help], MethodInvocationException
    
    + FullyQualifiedErrorId : CmdletInvocationException

    It's the same issue irrespective of the cmdlet.

    Consequently, I'm forced to contend with painful searches of the documentation website for information of the relevant cmdlets.

    Raised…

    17 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. How do I create an Azure Automation schedule with PowerShell using the Az Cmdlet New-AzAutomationSchedule?

    When I attempt to run the Cmdlet below with the following parameters, it fails:

    $AutomationAccountName = "CZEU1-INF-NP-0faa84be-AAA-01"

    $ResourceGroupName = "czeu2-app-np-rgp-01"

    $vmStartTime = (Get-Date "08:00:00").AddDays(1)

    $vmStopTime = (Get-Date "18:00:00")

    $timeZone = [TimeZoneInfo]::Local.DisplayName

    $vmStartupScheduleName = "Startup VMs 08:00 Daily Weekdays:

    $timeZone"

    $vmShutdownScheduleName = "Shutdown VMs 18:00 Daily

    Weekdays: $timeZone"

    [System.DayOfWeek[]]$WeekDays = @([System.DayOfWeek]::Monday..[System.DayOfWeek]::Friday)

    New-AzAutomationSchedule -AutomationAccountName $AutomationAccountName -Name $vmStartupScheduleName -StartTime $vmStartTime -WeekInterval 1 -DaysOfWeek $WeekDays -ResourceGroupName $ResourceGroupName -Verbose

    The error is: New-AzAutomationSchedule : Exception of type 'Microsoft.Azure.Management.Automation.Models.ErrorResponseException' was thrown. At line:1 char:1 + New-AutomationSchedule -AutomationAccountName $AutomationAccountNam... + CategoryInfo : CloseError: (:) [New-AzAutomationSchedule], ErrorResponseException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Automation.Cmdlet.NewAzureAutomationShedule

    16 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. Bug: Console output appears out of order

    In 5.0, objects returned from a script will appear in the console only after the script has completely finished if no formatting data is defined for that object type.

    Example:

    Write-Warning "Before"
    
    Get-Service E* | select Status, Name, DisplayName
    Write-Warning "After"

    Output:

    WARNING: Before
    
    

    WARNING: After
    Status Name DisplayName
    ------ ---- -----------
    Stopped EapHost Extensible Authentication Protocol
    Running EFS Encrypting File System (EFS)
    Running eventlog Windows Event Log
    Running EventSystem COM+ Event System

    Details
    - This did not happen before PowerShell 5.0
    - This happens both in the PowerShell console and ISE
    - The issue affects all objects that have…

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

    We’ll send you updates on this idea

    survey  ·  3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  11. UTF-8 without BOM [Missing Encoding Option]

    Votes from Connect: 4

    Original Date Submitted: 10/6/2014 10:15:42 AM

    Description:
    Contact Information
    Handle: DScripter
    Site Name: PowerShell
    Feedback ID: 993163


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

    Problem Description:
    I had an issue recently with generating JSON files that needed to be encoded in 'UTF-8 without BOM.' Cmdlets with the -Encoding parameter do not have this format as a possible encoding option.

    It looks like the Unicode standard recommends not using the BOM, either, as mentioned in this conversation:
    http://stackoverflow.com/questions/2223882/whats-different-between-utf-8-and-utf-8-without-bom

    Here is the Standard documentation:
    http://www.unicode.org/versions/Unicode5.0.0/ch02.pdf
    Quote given from Page 30:
    "... Use of a…

    16 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 →
  12. ConvertFrom-JSON doesn't allow you to modify the maxJSONLength value

    Votes from Connect: 26

    Original Date Submitted: 9/18/2013 10:01:50 PM

    Description:
    Contact Information
    Handle: Mark E. Schill
    Site Name: PowerShell
    Feedback ID: 801353


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

    Problem Description:
    ConvertFrom-JSON doesn't allow you to modify the maxJSONLength value. By default it is set to 2MB so if you have a JSON string that is longer it will error out trying to convert to a PowerShell object.

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

    Repro Steps:
    Use ConvertFrom-JSON on any string over…

    16 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. Send-MailMessage should support ReplyTo

    Votes from Connect: 34

    Original Date Submitted: 8/23/2012 10:09:13 PM

    Description:
    Contact Information
    Handle: RyanM_NU
    Site Name: PowerShell
    Feedback ID: 759227


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

    Problem Description:
    The .NET Mail.MailMessage Class has a ReplyToList property (as well as an obsolete ReplyTo property):

    http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.replytolist.aspx

    "Use the ReplyToList property to indicate the list of addresses other than the From address to use to reply to this message.
    The ReplyToList property replaces the ReplyTo property that only allows a single address to reply to."

    The Send-MailMessge cmdlet should also support ReplyTo functionality.

    Product Studio item created…

    16 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. test-connection throws quota exception when passed large list of computernames

    Votes from Connect: 13

    Original Date Submitted: 1/21/2011 3:36:17 AM

    Description:
    Contact Information
    Handle: jim christopher
    Site Name: PowerShell
    Feedback ID: 637184


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

    Problem Description:
    When passing large (e.g., >650) host names to the test-connection cmdlet, the cmdlet raises a WMI quota violation exception.

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

    Repro Steps:
    $ra = @(0..1000) | %{ $env:computername };
    test-connection $ra;

    Expected Results:
    I expect test-connection to manage the WMI underpinnings so I don't receive the quota violation.

    16 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. Out-Gridview should provide a count of the number of objects displayed

    It would be very useful if Out-Gridview provided a build in display of the number of objects in the grid. This could be in a status bar at the bottom or at the top along with the Add Criteria button.

    This would update as the filters are applied. It would also be nice if the selected items had a count as well.

    It would be especially useful with -passthru as you could have an estimate on the number of objects being passed to the next cmdlet in the pipeline.

    You can come up with the count by using measure-object, but…

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

    We’ll send you updates on this idea

    4 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →

    It would certainly be cool, but we’re not really investing in Out-GridView at this point in time. I’ll leave this open as a Survey to see if the demand surpasses our bar (though I’d caveat that demand would have to be fairly high).

    Thanks,
    Joey

  16. Windows Management Framework and PowerShell: Need consistent, supported way to detect version from the Operating System

    Votes from Connect: 8

    Original Date Submitted: 9/5/2014 9:43:02 PM

    Description:
    Contact Information
    Handle: NPherson
    Site Name: PowerShell
    Feedback ID: 964601


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

    Problem Description:
    With the WMF, there is no good consistent way to detect what version is installed. You can query for installed KB's, but that only works if the version of the WMF wasn't already baked into the operating system.

    With PowerShell, you can find out what version you have from within PowerShell with $psversiontable, but that information is not available in the OS itself through WMI or…

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

    We’ll send you updates on this idea

    3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
  17. The last thing PowerShell needs to have full parity with BASH is a Sudo Equivalent

    Votes from Connect: 26

    Original Date Submitted: 4/5/2014 3:29:10 AM

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


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

    Problem Description:
    Hi all,

    With this awesome new addition of official Chocolatey (I cannot spell this word) support, we at The Scripting Guys group on FB realized that the only thing missing to have full feature parity with BASH is Sudo!

    Sudo has become equivalent with nerdy coolness and now that PowerShell is growing in support and fandom at such a pace, we need our own…

    14 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 →
  18. ConvertTo-Html incorrectly labels default single column

    ConvertTo-Html works as desired when the output contains two or more columns.

    ConvertTo-Html works as desired when the output contains only one column derived from a property that was explicitly named in the -Properties parameter.

    However, if a match string is used for the -Property parameter, or the -Property parameter is omitted (and presumably defaults to match string "*"), and the output contains only a single column, the column header incorrectly contains the match string instead of the name of the property.

    For example, this:

    $X = [pscustomobject]@{ Name = 'Joe' }
    ConvertTo-Html -InputObject $X -Fragment

    Results in this:

    <table> …

    13 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 →
  19. ISE: Configurable tab size & convert tabs to spaces

    Votes from Connect: 107

    Original Date Submitted: 9/6/2012 7:43:17 PM

    Description:
    Contact Information
    Handle: HelgeKlein
    Site Name: PowerShell
    Feedback ID: 761424


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

    Problem Description:
    Any code editor really needs these two features:


    • configurable tab size (currently fixed at 4)

    • whether to convert tabs to spaces

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

    Repro Steps:
    Expected Results:

    Internal BugId: 3787

    13 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. -windowstyle hidden

    Votes from Connect: 3

    Original Date Submitted: 8/6/2014 2:59:46 AM

    Description:
    Contact Information
    Handle: TheWez
    Site Name: PowerShell
    Feedback ID: 938940


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

    Problem Description:
    When running powershell.exe -windowstyle hidden a powershell prompt is still presented to the user for a short period. This period is long enough that users are able to exit the window and causing failed SCCM deployments.

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

    Repro Steps:
    Run powershell.exe -windowstyle hidden <anyscript> - A powershell prompt will be…

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

    We’ll send you updates on this idea

    3 comments  ·  Other PowerShell  ·  Flag idea as inappropriate…  ·  Admin →
← Previous 1 3 4 5 22 23
  • Don't see your idea?

Feedback and Knowledge Base