![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | What does 1# mean in Powershell's prompt Hi All, After my workstation had a cold reboot due to "environment issues" my Powershell now shows prompts like this instead of usual one Windows PowerShell Copyright (C) 2006 Microsoft Corporation. All rights reserved. PowerTab version 0.98 PowerShell TabExpansion library /\/\o\/\/ 2007 http://thePowerShellGuy.com PowerTab Tabexpansion additions enabled : True 1# 1 1 2# 2 2 3# 3 3 4# 4 4 5# 5 I've also got PowerShell Community Extensions (http://www.codeplex.com/PowerShellCX/) installed. What does this prompt mean and what should be fixed to get the regular prompt back? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: What does 1# mean in Powershell's prompt The 1 in 1# represents the History ID the command you'll execute will have so you can execute it again by passing the ID to Invoke-History, pretty useful. # in PowerShell Version 1 ihy 1 # in PowerShell Version 2 CTP r 1 You can define your own Prompt function in the PSCX $Profile function prompt { "PS " + $(get-location) + "> " } # ...or, if you find the Id feature you can edit the one in the $Profile -- Kiron |
My System Specs![]() |
| | #3 (permalink) |
| | Re: What does 1# mean in Powershell's prompt Thanks. I think that was my first reboot since I've installed PowerShellCX and I don't reboot often. "Kiron" wrote: Quote: > The 1 in 1# represents the History ID the command you'll execute will have > so you can execute it again by passing the ID to Invoke-History, pretty > useful. > > # in PowerShell Version 1 > ihy 1 > > # in PowerShell Version 2 CTP > r 1 > > You can define your own Prompt function in the PSCX $Profile > > function prompt > { > "PS " + $(get-location) + "> " > } > > # ...or, if you find the Id feature you can edit the one in the $Profile > > -- > Kiron > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Log in prompt | Live Mail | |||
| "Powershell's popularity is rocketing skywards" | PowerShell | |||
| About PowerShell's scope limiatations | PowerShell | |||
| How to get to the Dos prompt | Vista installation & setup | |||
| PowerShell's Default Start Directory | PowerShell | |||