====== PowerShell ====== allow ps scripts to run: set-executionpolicy remotesigned random things: $x | Get-Member ===== Registry ===== * [[https://blogs.technet.microsoft.com/heyscriptingguy/2015/04/02/update-or-add-registry-key-value-with-powershell/|Update or Add Registry Key Value with PowerShell]] m = [regex]::Match($line, '\[(.*)\]')