function prompt {
$user = [Environment]::UserName;
$computer = gc env:computername;
$dir = [Environment]::CurrentDirectory=(Get-Location -PSProvider FileSystem).ProviderPath;
$user + "@" + $computer + ":" + $dir + ">"
}
This post helped with the last part.