Make the document user profile
cd $env:USERPROFILE\Documents
md WindowsPowerShell -ErrorAction SilentlyContinue
New-Item -Path $Profile -Type FileUsing a function the contents of Microsoft.PowerShell_profile.ps1 can be:
function Do-ActualThing {
# do actual thing
}
Set-Alias MyAlias Do-ActualThingUsing just a simple alias:
Set-Alias MyAlias Actionexample:
Set-Alias tf terraform