Powershell Icon

Welcome Forums General PowerShell Q&A Powershell Icon

This topic contains 4 replies, has 4 voices, and was last updated by

 
Participant
4 years, 6 months ago.

  • Author
    Posts
  • #17060

    Participant
    Points: 5
    Rank: Member

    Running Win7 on laptop,
    There are days a have 10+ powershell console windows open. A few are the shell but others are windowed output from out-gridview or get-help -showwindow. All these have have the same icon when I cycle around the windows [Alt-Tab] switching. Wasting time looking for the right window when all I have is the icon.
    Anyone have a PS way to make the console window have a different Icon than the windows output?

  • #17061

    Keymaster
    Points: 1,785
    Helping HandTeam Member
    Rank: Community Hero

    Not really, no, I don't think so – that's coded in the manifest of PowerShell.exe, which is the ConHost application.

  • #17062

    Moderator
    Points: 24
    Team Member
    Rank: Member

    Mike,

    Consider to use PowerShell ISE instead.

    – Only one taskbar icon.
    – Open multiple PowerShell consoles within the ISE (Ctrl+T).
    – Each PowerShell console can have multiple scripts opened (Ctrl+N).
    – Get syntax highlighting and Intellisense in the console and script editor.
    – etc.

    Regards
    Daniel

  • #17086

    Participant
    Points: 14
    Rank: Member

    Right click the taskbar in WIndows 7 select properties.
    The 2nd drop down on the screen that says always combine . . .
    Change that to combine only when full

    That may help some. Also you could use Windows Key tab to get the preview of each and tab through them until you find the one you want to close.

    -VERN

  • #17087

    Participant
    Points: 14
    Rank: Member

    hmmm

    Get-Process | Where-Object {$_.StartTime} | Sort-Object StartTime -Descending | Select-Object ProcessName,Id,StartTime | Format-Table -AutoSize

    You could sort them by the order of most recently opened

The topic ‘Powershell Icon’ is closed to new replies.