Skip to content

Instantly share code, notes, and snippets.

@Dalmirog-zz
Created October 10, 2016 19:42
Show Gist options
  • Save Dalmirog-zz/e70ad3c181434d28a9a58a274edaaedc to your computer and use it in GitHub Desktop.
Save Dalmirog-zz/e70ad3c181434d28a9a58a274edaaedc to your computer and use it in GitHub Desktop.
GetPackagesFolder
Function Get-PackagesLocalFolder {
$OctopusHomeDirectory = (Get-item (Get-ItemProperty HKLM:\SOFTWARE\Octopus\OctopusServer\OctopusServer).configurationFilepath).Directory
return "$OctopusHomeDirectory\Packages"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment