Command to clipboard

[any command] | clip

Enlarge command prompt

mode 200,50  

Show SSL bindings

netsh http show sslcert  

Remove SSL binding

netsh http delete sslcert ipport=0.0.0.0:443  

Find Windows service

sc query | find "NameOfServ"  

Remove Windows service

sc delete "FullNameOfService"</code></pre>  

SSH

Install Server

Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0  
Set-Service -Name sshd -StartupType Automatic  
Start-Service -Name sshd  

Set PowerShell as the default shell

New-ItemProperty -Path "HKLM:\SOFTWARE\OpenSSH" -Name DefaultShell -Value "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -PropertyType String -Force  

Authorized Keys (server)

Install-Module -Force OpenSSHUtils  
Repair-AuthorizedKeyPermission authorized_keys  

Authorized Keys (server - administrator)

C:\ProgramData\ssh\administrator_authorized_keys

> icacls .\administrators_authorized_keys
.\administrators_authorized_keys NT AUTHORITY\SYSTEM:(F)
BUILTIN\Administrators:(F)  

Full Docker Install

Install-WindowsFeature -Name Containers  
Uninstall-WindowsFeature Windows-Defender  
Restart-Computer -Force

Install-Module -Name DockerMsftProvider -Repository PSGallery -Force  
Install-Package -Name docker -ProviderName DockerMsftProvider -Force -RequiredVersion 19.03  
Start-Service docker