Skip to content

Instantly share code, notes, and snippets.

@FH-Inway
Created March 13, 2022 11:00
Show Gist options
  • Save FH-Inway/b9da62580c33c6968f1b162ff9108e06 to your computer and use it in GitHub Desktop.
Save FH-Inway/b9da62580c33c6968f1b162ff9108e06 to your computer and use it in GitHub Desktop.
Patch for AutoDeployReportAndSyncDB.ps1
--- AutoDeployReportAndSyncDB.ps1 Sun Mar 28 05:19:50 2021
+++ AutoDeployReportAndSyncDB_patched.ps1 Sun Apr 18 16:14:01 2021
@@ -22,6 +22,7 @@
[hashtable]$Credentials
)
#db sync
+invoke-Expression "net start reportserver"
$dbSyncScriptPath = "$PSScriptRoot\AutoDBSync.ps1"
$dbSyncScriptPath = Resolve-Path -Path $dbSyncScriptPath
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment