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
Copy file name to clipboardExpand all lines: Powershell/Erase-BaseManagedEntity.ps1
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -119,7 +119,7 @@ Function Erase-BaseManagedEntity
119
119
<#
120
120
DO NOT EDIT PAST THIS POINT
121
121
#>
122
-
122
+
$querytimeout='900'
123
123
if (!(Get-CommandInvoke-Sqlcmd-ErrorAction SilentlyContinue))
124
124
{
125
125
Write-Warning"Unable to run this script due to missing dependency:`n`t`tSQL Server Powershell Module (https://docs.microsoft.com/en-us/sql/powershell/download-sql-server-ps-module)`n`nTry running this script on a SQL Server if you cannot download the Powershell Module."
@@ -138,7 +138,7 @@ FROM BaseManagedEntity WHERE FullName like @name OR DisplayName like @name
0 commit comments