{"action":"closed","issue":{"url":"https://api.github.com/repos/VirtualEngine/Lability/issues/89","repository_url":"https://api.github.com/repos/VirtualEngine/Lability","labels_url":"https://api.github.com/repos/VirtualEngine/Lability/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/VirtualEngine/Lability/issues/89/comments","events_url":"https://api.github.com/repos/VirtualEngine/Lability/issues/89/events","html_url":"https://github.com/VirtualEngine/Lability/issues/89","id":147594900,"number":89,"title":"Get-LabVM doesnt check for the Lability Environment prefix","user":{"login":"kilasuit","id":6355225,"avatar_url":"https://avatars.githubusercontent.com/u/6355225?v=3","gravatar_id":"","url":"https://api.github.com/users/kilasuit","html_url":"https://github.com/kilasuit","followers_url":"https://api.github.com/users/kilasuit/followers","following_url":"https://api.github.com/users/kilasuit/following{/other_user}","gists_url":"https://api.github.com/users/kilasuit/gists{/gist_id}","starred_url":"https://api.github.com/users/kilasuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilasuit/subscriptions","organizations_url":"https://api.github.com/users/kilasuit/orgs","repos_url":"https://api.github.com/users/kilasuit/repos","events_url":"https://api.github.com/users/kilasuit/events{/privacy}","received_events_url":"https://api.github.com/users/kilasuit/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/VirtualEngine/Lability/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-12T00:19:46Z","updated_at":"2016-04-13T12:27:57Z","closed_at":"2016-04-13T12:27:57Z","body":"When you have a lab with a prefix like \"TLG-\" in the EnvironmentPrefix in the Labilty section in the NonNodeData part of the configuration data file this isnt checked in the Get-LabVM function\r\n\r\nexample configuration data \r\n\r\n```powershell\r\nNonNodeData = @{\r\n        Lability = @{\r\n            EnvironmentPrefix = 'TLG-';\r\n```\r\nGet-LabVM returns the following errors although you can see that Get-VM returns them correctly\r\n\r\n![labilityerror1](https://cloud.githubusercontent.com/assets/6355225/14446309/61e91516-004c-11e6-9960-163fc877dbd9.PNG)\r\n\r\nIt should only be a small addition to the Get-LabVM function to check for this setting in the Configuration Document\r\n"}}