$matches is an automatic variable in PowerShell 2.0 and above. Current assignment works by overriding a local copy, but if anyone decides to fork Invoke-mimikittenz.ps1 and do any type of regex matching in PowerShell natively, they may be in for a grim surprise.
$matches
is an automatic variable in PowerShell 2.0 and above. Current assignment works by overriding a local copy, but if anyone decides to fork Invoke-mimikittenz.ps1 and do any type of regex matching in PowerShell natively, they may be in for a grim surprise.