Windows 11¶
Reload PowerShell Profile¶
GPG¶
winget install GnuPG.GnuPG
git config --global gpg.program "C:\Program Files (x86)\GnuPG\bin\gpg.exe"
Microsoft Store Apps Update¶
Powershell
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Share USB with WSL¶
Powershell
winget install --interactive --exact dorssel.usbipd-win
usbipd wsl list
usbipd wsl attach --busid <busid>
usbipd wsl detach --busid <busid>
Copy from WSL¶
Scoop¶
Create Empty File¶
Profile¶
echo $profile
C:\Users\nicholas\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
. $profile