SQL Agen Scheduler - Updated
This commit is contained in:
@ -0,0 +1,8 @@
|
||||
$BackupZip = "\\DOES-RAINVM-DEV\E$\Neeraj\SqlAgent\Backup\SQLAgentJobs_20251018_153000.zip"
|
||||
$ExtractPath = "\\DOES-RAINVM-DEV\E$\Neeraj\SqlAgent\Restore\"
|
||||
|
||||
# Create folder if not exist
|
||||
if (-not (Test-Path $ExtractPath)) { New-Item -ItemType Directory -Path $ExtractPath | Out-Null }
|
||||
|
||||
# Extract the ZIP
|
||||
Expand-Archive -Path $BackupZip -DestinationPath $ExtractPath -Force
|
||||
Reference in New Issue
Block a user