You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that get-DbaUserPermission does not drop the STIG schema after a successful execution. I believe the problem is that the code issues the "endSQL" within the context of a user database, and it needs to be in the tempdb.
Write-Message -Level Verbose -Message "Deleting objects"
try {
$db.ExecuteNonQuery($endSQL)
} catch {
# here to avoid an empty catch
$null = 1
}
The text was updated successfully, but these errors were encountered:
I noticed that get-DbaUserPermission does not drop the STIG schema after a successful execution. I believe the problem is that the code issues the "endSQL" within the context of a user database, and it needs to be in the tempdb.
The text was updated successfully, but these errors were encountered: