Professional Documents
Culture Documents
Assignment 3 Sawan
Assignment 3 Sawan
Assignment 3 Sawan
Ex. 3.1
$profilePath = "$env:USERPROFILE\Documents\PowerShell\Microsoft.PowerShell_profile.ps1"
}
# Edit Player Shell v7 profile using Notepad
$scriptPath = "C:\PS\Scripts"
Set-Location $scriptPath
# Change prompt
function prompt {
"PS4382-$(Get-Location) sawan>"
Stop-Transcript