I use the following to wrap my location in:
function prompt
{
if ($isAdmin)
{
"[" + (Get-Location) + "] # "
}
else
{
"[" + (Get-Location) + "] $ "
}
}
This renders a location listing like so:
How can I color the location in using ForeGround color? I tried appending it but it did not work. I am not really sure what to do here, as I don't know how to apply a color to something that isn't WriteHost or WriteColor module.
Thanks!
