-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I get the following error when using Get-Machine (I import using an 'Octo-' prefix) using MachineName. Using an Id works fine.
Get-OctoMachine -Id Machines-82 works fine.
Get-OctoMachine -Name 'Server1' gives:
Get-OctoMachine : Error converting value "CalamariNeedsUpgrade" to type
'Octopus.Client.Model.MachineModelStatus'. Path 'Items[0].Status', line 22, position 39.
At line:1 char:1
+ Get-OctoMachine Server1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-OctoMachine], JsonSerializationException
+ FullyQualifiedErrorId : Newtonsoft.Json.JsonSerializationException,Octopus_Cmdlets.GetMachine
Ps: The PowerShell Gallery version is still 0.1.0
Metadata
Metadata
Assignees
Labels
No labels