PowerShell

allow ps scripts to run:

set-executionpolicy remotesigned

random things:

$x | Get-Member

Registry

m = [regex]::Match($line, '\[(.*)\]')