Академический Документы
Профессиональный Документы
Культура Документы
function prompt
{
$color = get-random -min 1 -max 16
write-host ("PS " + $(get-location)
+">") -nonewline -foregroundcolor $color
return " "
}
SEE ALSO
Get-Location
Enter-PSSession
Get-History
Get-Random
Write-Host
about_Profiles
about_Functions
about_Scopes
about_Debuggers
about_Automatic_Variables