Set-Location env: # Prompt character becomes `PS Env:>`
# (environment variables)
Get-Childitem # Get all environment variables
#
Get-Childitem userprofile # Get environment variable `userprofile`
# --> USERPROFILE C:Usersuser_name
Set-Location alias: # To PS-Drive alias
Get-Childitem # All aliases
Set-Location c:users # Back to filesystem c: (directory users)
#
$env:userprofile # Get value of environment variable `userprofile`
# -> C:Usersuser_name
$alias:ls # Get what alias 'ls' stands for
# -> Get-ChildItem
$Server = Read-Host -Prompt 'Input your server name'
$User = Read-Host -Prompt 'Input the user name'
$Date = Get-Date
Write-Host "You input server '$Servers' and '$User' on '$Date'"