Skip to content

Instantly share code, notes, and snippets.

@sqlsimon
Created November 2, 2016 23:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sqlsimon/c22a032f2dec8396a9462ecb9d983c68 to your computer and use it in GitHub Desktop.
Save sqlsimon/c22a032f2dec8396a9462ecb9d983c68 to your computer and use it in GitHub Desktop.
$InstallPath = $OctopusParameters["Octopus.Action[Deploy dbatools package].Output.Package.InstallationDirectoryPath"] + "\contents\"
Write-Host $InstallPath
Copy-Item -Path $InstallPath -Destination "C:\Program Files\WindowsPowershell\Modules\dbatools" -Recurse -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment