Using Windows PowerShell, how do I change the command prompt?
For example, the default prompt says
PS C:\\Documents and Settings\\govendes\\My Docume
This version of Warren Stevens' answer avoids the noisy "Microsoft.PowerShell.Core\FileSystem" in the path if you Set-Location to network shares.
Set-Location
function prompt {"PS [$Env:username@$Env:computername]$($PWD.ProviderPath)`n> "}