Skip to content

Add-octomachine erroring #12

@AlexDBA012

Description

@AlexDBA012

Hi

These cmdlets are great but I'm having troubles with add-octomachine.

I’m running this line

Add-octoMachine -environment $environment -Name $Server -endpoint TentacleActive -Roles $roles

And getting this error

Add-OctoMachine : Cannot bind parameter 'Endpoint'. Cannot convert the "TentacleActive" value of type "System.String"

to type "Octopus.Client.Model.Endpoints.EndpointResource".

At C:\serverbuilds\OCTAddEnvironments.ps1:45 char:69

  • ... ironment $environment -Name $Server -endpoint TentacleActive -Roles ...

  • 
    
  • CategoryInfo : InvalidArgument: (:) [Add-OctoMachine], ParameterBindingException

  • FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Octopus_Cmdlets.AddMachine

Any Ideas?

Cheers

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions