Skip to content

Commit 86f917d

Browse files
committed
Fixed comments
1 parent ebe780f commit 86f917d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

PowerUpSQL.ps1

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15025,18 +15025,14 @@ Function Get-SQLServerLoginDefaultPw
1502515025
return
1502615026
}
1502715027

15028-
# Grab username and password
15029-
#Write-Verbose $TblResultsTemp
15030-
#$CurrentUsername = $TblResultsTemp.username
15031-
#$CurrentPassword = $TblResultsTemp.password
15032-
1503315028
# Test login
1503415029
#Write-Verbose ($instance).ToString()
1503515030
#Write-Verbose ($CurrentUsername).ToString()
1503615031
#Write-Verbose ($CurrentPassword).ToString()
1503715032

1503815033
# Grab and iterate username and password
1503915034
for($i=0; $i -lt $TblResultsTemp.count; $i++){
15035+
#Write-Verbose $TblResultsTemp
1504015036
$CurrentUsername = $TblResultsTemp.username[$i]
1504115037
$CurrentPassword = $TblResultsTemp.password[$i]
1504215038
$LoginTest = Get-SQLServerInfo -Instance $instance -Username $CurrentUsername -Password $CurrentPassword -SuppressVerbose

0 commit comments

Comments
 (0)