- version 7 install newer Powershell
winget search Microsoft.PowerShell
winget install --id Microsoft.Powershell --source winget
pwsh
$env:PATH
$env:PATH += ';PATH_TO_APPEND'
- Profile (about Profile)
create a profile for current user, current host
if (!(Test-Path -Path $PROFILE)) {
New-Item -ItemType File -Path $PROFILE -Force
}
Install-Module -Name Microsoft.WinGet.Client
winget install -e --id KeePassXCTeam.KeePassXC
Find packages to install https://winget.run/
winget install -e --id Microsoft.VisualStudioCode
winget install -e --id dbeaver.dbeaver
winget install -e --id Python.Python.3.11
winget install -e --id OpenVPNTechnologies.OpenVPNConnect
winget install -e --id Amazon.AWSCLI
These days not using Chocolatey anymore.
- Run PowerShell as administrator
Set-ExecutionPolicy Bypass -Scope Process -Force
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
-
Install to C:\ProgramData\chocolatey
-
Non admin install https://docs.chocolatey.org/en-us/choco/setup#non-administrative-install
choco install -y googlechrome
choco install -y firefox
choco install -y vscode
choco install -y git --package-parameters="'/GitAndUnixToolsOnPath /WindowsTerminal'"
choco install -y python
wsl.exe --install
wsl.exe --update
wsl --list --online
wsl --install <Distribution Name>
wsl --status
https://learn.microsoft.com/en-us/windows/wsl/setup/environment
- https://github.com/pywinauto/pywinauto
- https://github.com/asweigart/pyautogui
- https://accessibilityinsights.io/
AMI: Windows_Server-2022-English-Full-Base-2021.10.13
New instance setup
- create new user
- add to Remote Desktop Users group
https://docs.aws.amazon.com/powershell/
Get-DefaultAWSRegion
Get-AWSCmdletName -ApiOperation SecurityGroup -MatchWithRegex
Windows Admin Center https://docs.microsoft.com/en-us/windows-server/manage/windows-admin-center/overview