PowerShell-Beautifier
PowerShell-Beautifier copied to clipboard
Set-Variable can replace set where it shouldn't
When given the input:
netsh int ip set interface $index metric= ($metric + 5)
You end up with:
netsh int ip Set-Variable interface $index metric= ($metric + 5)
Quick fix:
$psBeautify = Get-Module PowerShell-Beautifier
$psBeautify.PrivateData.ValidCommandNames.Remove('set')