Bootstrap Disassembler0/Win10-Initial-Setup-Script: PowerShell script for automation of routine tasks done after fresh installations of Windows 10 / Server 2016 / Server 2019 Posts ♯ Memory Tracing in Windows ♯ Vim Setup for Windows ♯ My Windows Environment Setup Index ♯ WSL ♯ Windows Chinese Environment ♯ Windows OpenSSH Server ♯ Windows Proxy Setting ♯ Windows Terminal
A collection of 16 articles
The article mainly refers Exercise 2 - Track User Mode Process Allocations | Microsoft Docs. 1. Install Windows Performance Recorder and Analyzer Download and install ADK from here. The windows build version can be checked by running “winver” via Win+r.
Following example moves the Ubuntu distribution to disk D:\WSL\Ubuntu.
I prefer using a dedicated WSL instance to run containers. So I’ll install a minimal distribution, Alpine, to run podman. Install the tool LxRunOffline first via scoop scoop bucket add extras scoop install lxrunoffline Download Alpine root package from https://lxrunoffline.
⚡ Familiar key bindings Set-PSReadLineOption -EditMode emacs ⚡ Default config file $PROFILE ⚡ Quick Start Get-Help Get-Member Where-Object (alias ?) ForEach-Object (alias %) Select-Object Format-List Out-GridView -PassThru ⚡ Gotchas Require , to separate multiple arguments: rm a, b, c ⚡ Count…
⚡ Default Shell New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force ※ source ⚡ Authorized Keys The authorized_keys for users with administrator permissions is C:\ProgramData\ssh\administrators_authorized_keys. The following snippet fix the file permission…
System Proxy UWP Open PowerShell as admin (Win+X A), find the UWP package, for example, Microsoft Store Get-AppxPackage -Name '\*Store\*' Once the target app is located, get its package family name.
⚡ System Tray Press Win+B to activate tray, and use Shift+F10 to show context menu. ⚡ Snip tool Win + Shift + S ⚡ System Actions Win + x Combo examples: Win +x, a: Admin PowerShell Win +x, u, s: Sleep
I started using WSL from version 2, so the following tips may only work for version 2. ⚡ LxRunOffline LxRunOffline is a command line tool to manage WSL instances. It also can install many Linux distributions that are not listed in Microsoft Store.
There are two apps both work for me in scoop extras bucket. scoop bucket add extras scoop install rbtray traymond They both require running their background process first. Rbtray minimizes a window into system tray by right clicking the window minimization button, while traymond us shortcuts Win + Shift + Z。