title: How can I add color to the machine name in the prompt of a PowerShell Remoting session?
body: <p>To make it more obvious when I'm remoted to a live/production server, I thought it'd be handy to be able to colour the machine name I'm connected to when using remote PowerShell sessions.</p>
  
  <p>However, I can't see a way to do this... The server name prefix seems to be independent of the Prompt function, and even if I could use that, I'm not sure how I could define a new Prompt only for the duration of the session.</p>
  
  <p>Is there a way to customise this? Note: I don't want to color all server names the same, I'd like a distinction between local/production servers.</p>