Skip to content

Convert a string variable in Octopus Deploy to a hash table in PowerShell

Notifications You must be signed in to change notification settings

AppDSConsult/ODVariabletoHashTable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

ODVariabletoHashTable

Convert a string variable in Octopus Deploy to a hash table in PowerShell

This will convert your Octopus deploy variable $ODVariable to a PowerShell hash table. An example of OD variable content that should be set as a multiline string:

@{Name = "ServiceName";
InstallLocation = "C:\Services; ServiceExe = "Process.exe"; ServiceUserName = "User"; ServicePassword = "Pass"; ServiceInstallSource = "C:\Program Files\Services"; }

About

Convert a string variable in Octopus Deploy to a hash table in PowerShell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published