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. I'd like to rename my variables and functions like in Visual Studio (.refactor.rename)

    implemented either in ISE and/or in VS with Posh Extension

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    3 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →

    Understand the difference now based on the comments about replace-all versus rename.refactor. Marking as Survey.

  2. ValidateScript intellisense shows only ScriptBlock

    Applies to: ISE, ISE-Preview, Powershell V5 console

    When you try to use completion inside ValidateScript() intellisense instead of completing cmdlet names inserts "ScriptBlock". There is no problem with completing parameter names.
    Screenshot: https://snag.gy/T6iomf.jpg

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

    We’ll send you updates on this idea

    survey  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  3. Editing remote files without interactive remoting active.

    At the moment it's possible to edit remote files using ISE (I love it!) but that requires interactive session to be active. It would be great if editing would require only PSSession to exist.That would enable scenarios like:
    -- modifying files on multiple endpoints
    -- modifying remote file and running local commands at the same time

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

    We’ll send you updates on this idea

    survey  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  4. In ISE, the number of replacements should be shown.

    The count could be displayed in a message box, and/or in the status bar. The count gives a good feeling about the exactness of the requested operation. For instance, if the count is just a few when you expected a lot, something was misspelled. Right now, it is dead quiet.

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  5. ISE Preview, the ISE Alias, and the PsEdit Function

    In the PowerShell ISE Preview, the "ise" alias should not launch a new instance of the old powershell_ise.exe, it should open the script given to it as an argument in a new tab in the currently-running host ISE process (just the like psEdit function does).

    Personally, I prefer to open scripts into new tabs using "ise" instead of "psedit" because it is shorter (and also a habit burned in from years of use). When the new PowerShell ISE is released later this year, please make "ise" an alias for the psEdit function, or a function in its own right, or…

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    survey  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  6. Provide a way to set the display name for a "PowerShell tab"

    This request comes from an internal team. The ask is to have an action to set a name for a "PowerShell tab" so that it's clear what each tab's session is being used for.

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  7. 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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  8. Bug: built-in psEdit function

    When called w/o file name, the pre-defined psEdit function prompts for a file Name to be opened in a new ISE tab. If you then just hit the enter key the function will open each file it finds in the current directory. I consider this not a feature but rather a bug.

    Therefore, I've put the following function in my ISE Profile script to overwrite the original psEdit function:

    function psEdit {
    param(

    [Parameter(Mandatory=$true)]
    
    [string[]]
    $filenames

    )
    foreach ($filename in $filenames) {

    dir $filename | where {!$_.PSIsContainer} | %{
    
    $psISE.CurrentPowerShellTab.Files.Add($_.FullName) > $null
    }

    }
    }

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  9. Support C# Syntax and Other .NET Languages

    To start with, PowerShell is really awesome. It is great to see it progress and mature as it has over the years.

    One of the issues I (and other .NET developers I know) have had with this great scripting solution is that it is based on .NET, but the way in which you write scripts for it is not based on any language that .NET has known.

    That is, it seems as if PowerShell is a .NET technology, and supports only one language. This seems to fly in the face of the spirit of .NET, where its intent/value was to…

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

    We’ll send you updates on this idea

    5 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  10. Add a regular expression option in Settings as default mode in 'Find'

    The flag mut be set each time the ISE is launched

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  11. Find should remember more than only the last searched string

    LIke done in Excel/VBA, and in Notepad++.
    Hitting down arrow in the search box should show the previous strings

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    survey  ·  0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  12. PowerShell ISE Preview - Make the Status Bar extensible

    There isn't a lot going on in the Status Bar right now, just Zoom and line / column. It would be great if the rest of the space down there was customizable, perhaps via add-ons. For example:
    * The ability to show how much memory the ISE is currently using as either a number or nifty htop-like bar graph.
    * The ability to customize some text like we can with $host.UI.RawUI.WindowTitle
    * The ability to display a progress bar with custom text
    * The ability to display a particular color if an error is encountered, along with the name of…

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

    We’ll send you updates on this idea

    1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  13. Presist the state of collapsed regions/functions/etc

    I was thinking it would be nice if the state of collapsed regions/functions/etc was persisted somehow so that next time you open the script it remembers the collapsed sections. This would be very useful for large scripts where you are working on a particular functionality over a number of days.

    I don't see this for all scripts but maybe just for the same list that is in the most recent scripts in the File menu.

    I floated this idea with my PowerShell class today and there were a number of others that expressed benefit from that feature too.

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

    We’ll send you updates on this idea

    1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  14. BUG: ISE Preview - Show-Command

    On both my Windows 10 boxes, Show-Command does not work in the ISE Preview. It gives the following error:

    Show-Command : [A]System.Collections.Generic.List1[Microsoft.PowerShell.Commands.ShowCommandExtension.ShowCommandCommandInfo] cannot be cast to
    [B]System.Collections.Generic.List
    1[Microsoft.PowerShell.Commands.ShowCommandExtension.ShowCommandCommandInfo]. Type A originates from 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location
    'C:\WINDOWS\Microsoft.Net\assembly\GAC64\mscorlib\v4.04.0.0.0b77a5c561934e089\mscorlib.dll'. Type B originates from 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' in the context 'LoadNeither' at location
    'C:\WINDOWS\Microsoft.Net\assembly\GAC64\mscorlib\v4.04.0.0.0
    b77a5c561934e089\mscorlib.dll'.
    At line:1 char:1
    + Show-Command
    + ~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Show-Command], InvalidCastException
    
    + FullyQualifiedErrorId : System.InvalidCastException,Microsoft.PowerShell.Commands.ShowCommandCommand

    Thanks for looking.

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

    We’ll send you updates on this idea

    1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  15. ISE 5.1.1 Preview crashes and restarts but doesn't generate $env:APPDATA\PowerShell_ISE_Crash_Log.txt

    I just had a number of crashes in ISEP while editing code. Each time, ISEP restarted, but no $env:APPDATA\PowerShellISECrash_Log.txt was generated

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  16. ISE Preview: USB drive shows up twice in Get-PSDrive

    This should speak for itself:

    PS C:/tmp> get-psdrive -name 'I'

    Name Used (GB) Free (GB) Provider Root CurrentLocation


    i 52.88 5.99 FileSystem i:\ BUILD 2016
    I 52.88 5.99 FileSystem I:\

    Maybe this is related to inserting the USB key while ISEP was running?

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    0 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  17. PowerShell ISE - Pane breakout for multi monitor use

    Votes from Connect: 23

    Original Date Submitted: 10/31/2011 9:54:18 PM

    Description:
    Contact Information
    Handle: FuriouS76
    Site Name: PowerShell
    Feedback ID: 698161


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

    Problem Description:
    I have tried many of the IDE/ISE options out there and prefer Windows ISE. The one feature I would like to see is the ability to undock or break out each pane across multiple monitors. This would allow users in multi-monitor setups to configure the ISE in an ideal setup that would allow faster coding / debugging.

    Thanks,
    Kirk Hammond.

    Product Studio item created by Connect…

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

    We’ll send you updates on this idea

    5 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →

    This is a very difficult thing to implement, it could potentially break many of the add-ons, and could introduce some very confusing UI elements.

    That said, we’re interested to get more ideas from you for how something like this might work. Feel free to post your comments below.

    Thanks,
    Joey

  18. Provide a mechanism to translate Comment based help into editable MAML

    I have a bunch of functions documented via Comment Based Help. I'd like to be able to automatically turn these into MAML

    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  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  19. PRB: out-lineoutput : Unable to perform host dependent operation.

    Under some undetermined circumstances, the ISE (RTM or Preview) aborts the execution of the current script with the following error:

    out-lineoutput : Unable to perform host dependent operation.

    + CategoryInfo          : NotSpecified: (:) [out-lineoutput], InvalidOperationException
    
    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.Out

    LineOutputCommand

    Restarting the script usually works, but can fail some time later.

    Any clue?

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    2 comments  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  20. Bug: String parameter with null as default: Different behavior if debugged!

    Function Test-StringDefaultParameter {

    Param (
    
    [String] $Str = [System.Management.Automation.Language.NullString]::Value
    )

    if ($Null -eq $Str) {
    Write-Host "Str is null"
    } else {
    Write-Host "Str is '$Str'"
    }

    }

    When debugging above function (that is just placing a breakpoint in it somewhere in Powershell ISE) then calling 'Test-StringDefaultParameter' without any parameter behaves as expected! (printing out 'Str is null'!).
    Not so though, if there is no breakpoint set! Then 'Str is ''' get printed on the console!

    This happens (at least) with Powershell 5 on Windows 7 64 bit.

    PS C:\Users\peh> Get-Host

    Name : Windows PowerShell ISE Host
    Version : 5.0.10586.117 …

    1 vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    1 comment  ·  ISE and tooling  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base