Powershell Profile Örneği

# Display host / user information

Write-Host
“Username: $env:Username”
-ForegroundColor
“Yellow”

Write-Host
“Domain: $env:UserDomain”
-ForegroundColor
“Yellow”

Write-Host
“Computer: $env:computername”
-ForegroundColor
“Yellow”

 
 

# Set location to local C: drive

Set-Location
-Path
“C:\”

Leave a Comment

Your email address will not be published. Required fields are marked *