SQL Agen Scheduler - Updated

This commit is contained in:
Neeraj Kumar
2025-10-20 07:54:46 -04:00
parent 42a3da46ab
commit f8c32748c5
136 changed files with 5836 additions and 1216 deletions

View File

@ -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