File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -15025,18 +15025,14 @@ Function Get-SQLServerLoginDefaultPw
15025
15025
return
15026
15026
}
15027
15027
15028
- # Grab username and password
15029
- #Write-Verbose $TblResultsTemp
15030
- #$CurrentUsername = $TblResultsTemp.username
15031
- #$CurrentPassword = $TblResultsTemp.password
15032
-
15033
15028
# Test login
15034
15029
#Write-Verbose ($instance).ToString()
15035
15030
#Write-Verbose ($CurrentUsername).ToString()
15036
15031
#Write-Verbose ($CurrentPassword).ToString()
15037
15032
15038
15033
# Grab and iterate username and password
15039
15034
for($i=0; $i -lt $TblResultsTemp.count; $i++){
15035
+ #Write-Verbose $TblResultsTemp
15040
15036
$CurrentUsername = $TblResultsTemp.username[$i]
15041
15037
$CurrentPassword = $TblResultsTemp.password[$i]
15042
15038
$LoginTest = Get-SQLServerInfo -Instance $instance -Username $CurrentUsername -Password $CurrentPassword -SuppressVerbose
You can’t perform that action at this time.
0 commit comments