$psprompt = @"
function prompt
{
Write-Host `$(get-date) -ForegroundColor Green
Write-Host "PS" `$PWD ">" -nonewline -foregroundcolor White
return " "
}
"@
New-Item -ItemType File -Path $profile -Force | Out-Null
Set-Content -Path $profile -Value $psprompt