superlint/.automation/test/powershell/powershell_bad_1.ps1

14 lines
257 B
PowerShell
Raw Normal View History

2020-06-19 12:13:13 -04:00
#Plaintext Parameters
function BadFunction {
param(
[String]$Username = 'me',
[String]$Password = 'password'
)
$Username
$Password
$VariableThatIsNotUsedLater = '5'
try {
'Empty Catch Block'
} catch {}
}