Using Octoposh 0.6.11
Want to add a variable to a list of projects:
$variableset = Get-OctopusVariableSet -Projectname $projectName -ResourceOnly
$newvariable = New-Object Octopus.Client.Model.VariableResource
$scope = New-Object Octopus.Platform.Model.ScopeSpecification
New-Object : Cannot find type [Octopus.Platform.Model.ScopeSpecification]: verify that the assembly containing this type is loaded.
It looks like I need specific Octopus Dlls for the Octoposh scripts to run.
Any ideas please?