git submodule init
Use Windows Terminal
See also PowerShell notes
- Install the latest PowerShellGet with
Install-Module PowershellGet -Force
- Install posh-git with
PowerShellGet\Install-Module posh-git -Scope CurrentUser -AllowPrerelease -Force
(this is preferred over installing through Chocolatey since choco puts it in a strange location and doesn't add it to the$PSModulePath
)
- Copy custom profile - Copy
Microsoft.PowerShell_profile.ps1
to~/Documents/PowerShell/
(or~/Documents/WindowsPowerShell/
for PowerShell < v6) - A mere shortcut ormklink
doesn't appear to work for Windows Terminal to load the $PROFILE
HttpGetCmds.ahk
runs a local REST server which runs functions from GET requests. I use this to run simple commands in the background from the Stream Deck.
Add shortcuts to scripts to the startup folder - Run
(Windows
+ r
) command shell:startup
.
iex(iwr https://raw.githubusercontent.com/ansible/ansible/devel/examples/scripts/ConfigureRemotingForAnsible.ps1).Content
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Install packages:
choco install -y packages/[name].config
Windows Store versions may need to be uninstalled first. See packages.
Update chocolatey packages with cup all -y
or chocolatey update all -y
. You may also consider enabling an option to ignore confirmation prompts.
Use Shift + F10 for command prompt.
To setup Windows 11 without signing into Microsoft, enter command before signing into a network:
oobe\bypassnro
Open settings window:
start ms-settings:
reg add "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TimeZoneInformation" /v RealTimeIsUniversal /d 1 /t REG_QWORD /f