{"action":"created","issue":{"url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/310","repository_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab","labels_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/310/comments","events_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/310/events","html_url":"https://github.com/AutomatedLab/AutomatedLab/issues/310","id":314374695,"number":310,"title":"Get-LabAvailableOperatingSystem returning incorrect OS Names","user":{"login":"GlennJC","id":30032881,"avatar_url":"https://avatars2.githubusercontent.com/u/30032881?v=4","gravatar_id":"","url":"https://api.github.com/users/GlennJC","html_url":"https://github.com/GlennJC","followers_url":"https://api.github.com/users/GlennJC/followers","following_url":"https://api.github.com/users/GlennJC/following{/other_user}","gists_url":"https://api.github.com/users/GlennJC/gists{/gist_id}","starred_url":"https://api.github.com/users/GlennJC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlennJC/subscriptions","organizations_url":"https://api.github.com/users/GlennJC/orgs","repos_url":"https://api.github.com/users/GlennJC/repos","events_url":"https://api.github.com/users/GlennJC/events{/privacy}","received_events_url":"https://api.github.com/users/GlennJC/received_events","type":"User","site_admin":false},"labels":[{"id":429180963,"url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/labels/Question","name":"Question","color":"cc317c","default":false}],"state":"closed","locked":false,"assignee":{"login":"raandree","id":11280760,"avatar_url":"https://avatars1.githubusercontent.com/u/11280760?v=4","gravatar_id":"","url":"https://api.github.com/users/raandree","html_url":"https://github.com/raandree","followers_url":"https://api.github.com/users/raandree/followers","following_url":"https://api.github.com/users/raandree/following{/other_user}","gists_url":"https://api.github.com/users/raandree/gists{/gist_id}","starred_url":"https://api.github.com/users/raandree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raandree/subscriptions","organizations_url":"https://api.github.com/users/raandree/orgs","repos_url":"https://api.github.com/users/raandree/repos","events_url":"https://api.github.com/users/raandree/events{/privacy}","received_events_url":"https://api.github.com/users/raandree/received_events","type":"User","site_admin":false},"assignees":[{"login":"raandree","id":11280760,"avatar_url":"https://avatars1.githubusercontent.com/u/11280760?v=4","gravatar_id":"","url":"https://api.github.com/users/raandree","html_url":"https://github.com/raandree","followers_url":"https://api.github.com/users/raandree/followers","following_url":"https://api.github.com/users/raandree/following{/other_user}","gists_url":"https://api.github.com/users/raandree/gists{/gist_id}","starred_url":"https://api.github.com/users/raandree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raandree/subscriptions","organizations_url":"https://api.github.com/users/raandree/orgs","repos_url":"https://api.github.com/users/raandree/repos","events_url":"https://api.github.com/users/raandree/events{/privacy}","received_events_url":"https://api.github.com/users/raandree/received_events","type":"User","site_admin":false}],"milestone":null,"comments":11,"created_at":"2018-04-15T00:46:29Z","updated_at":"2018-04-26T16:47:04Z","closed_at":"2018-04-15T13:09:55Z","author_association":"CONTRIBUTOR","body":"After AL Upgrade to 5.0.1.0, the Get-LabAvailableOperatingSystem is returning the old OS names, and not the new ones expected:\r\n\r\nReturned:\r\nPS C:\\> Get-LabAvailableOperatingSystem | ft OperatingSystemName\r\n10:43:07|00:00:08|00:00:08.718| found 16 OS images in the cache\r\n\r\nOperatingSystemName\r\n-------------------\r\nWindows 10 Enterprise 2016 LTSB Evaluation\r\nCentOS 7.4\r\nWindows 10 Enterprise\r\nWindows 7 HOMEBASIC\r\nWindows 7 HOMEPREMIUM\r\nWindows 7 PROFESSIONAL\r\nWindows 7 ULTIMATE\r\nWindows 10 Enterprise\r\nWindows Server 2012 R2 SERVERSTANDARDCORE\r\nWindows Server 2012 R2 SERVERSTANDARD\r\nWindows Server 2012 R2 SERVERDATACENTERCORE\r\nWindows Server 2012 R2 SERVERDATACENTER\r\nWindows Server 2016 SERVERSTANDARDCORE\r\nWindows Server 2016 SERVERSTANDARD\r\nWindows Server 2016 SERVERDATACENTERCORE\r\nWindows Server 2016 SERVERDATACENTER\r\n\r\nExpected:\r\nC:\\LabSources\\MyScripts> Get-LabAvailableOperatingSystem | ft OperatingSystemName\r\n\r\nOperatingSystemName\r\n-------------------\r\nWindows 10 Enterprise 2016 LTSB Evaluation\r\nCentOS 7.4\r\nWindows 10 Enterprise\r\nWindows 7 Home Basic\r\nWindows 7 Home Premium\r\nWindows 7 Professional\r\nWindows 7 Ultimate\r\nWindows 10 Enterprise\r\nWindows 10 Enterprise\r\nWindows Server 2012 R2 Standard (Server Core Installation)\r\nWindows Server 2012 R2 Standard (Server with a GUI)\r\nWindows Server 2012 R2 Datacenter (Server Core Installation)\r\nWindows Server 2012 R2 Datacenter (Server with a GUI)\r\nWindows Server 2016 Standard\r\nWindows Server 2016 Standard (Desktop Experience)\r\nWindows Server 2016 Datacenter\r\nWindows Server 2016 Datacenter (Desktop Experience)\r\n\r\nHave uninstalled AL, removed registry setting for the OS Cache, removed all previous AL Version Powershell modules in C:\\Program Files\\WindowsPowerShell\\Modules, and reinstalled AL from the 5.0.1.0 MSI File. Have also cleaned out the ISO folder and placed files in one by one, however it re-registers the OS with the old OperatingSystem name.\r\n\r\nAny ideas where to look next?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/comments/384710861","html_url":"https://github.com/AutomatedLab/AutomatedLab/issues/310#issuecomment-384710861","issue_url":"https://api.github.com/repos/AutomatedLab/AutomatedLab/issues/310","id":384710861,"user":{"login":"itgl72","id":19668585,"avatar_url":"https://avatars0.githubusercontent.com/u/19668585?v=4","gravatar_id":"","url":"https://api.github.com/users/itgl72","html_url":"https://github.com/itgl72","followers_url":"https://api.github.com/users/itgl72/followers","following_url":"https://api.github.com/users/itgl72/following{/other_user}","gists_url":"https://api.github.com/users/itgl72/gists{/gist_id}","starred_url":"https://api.github.com/users/itgl72/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itgl72/subscriptions","organizations_url":"https://api.github.com/users/itgl72/orgs","repos_url":"https://api.github.com/users/itgl72/repos","events_url":"https://api.github.com/users/itgl72/events{/privacy}","received_events_url":"https://api.github.com/users/itgl72/received_events","type":"User","site_admin":false},"created_at":"2018-04-26T16:47:04Z","updated_at":"2018-04-26T16:47:04Z","author_association":"NONE","body":"Not clear how to get around this? I am kicking off  '04 Single domain-joined server' and this piece seems to be an issue.\r\nI can get all the way through this:\r\n`New-LabDefinition -Name 'Lab2' -DefaultVirtualizationEngine HyperV\r\nAdd-LabMachineDefinition -Name DC1 -Memory 1GB -OperatingSystem 'Windows Server 2016 Standard (Desktop Experience)' -Roles RootDC -DomainName contoso.com\r\nAdd-LabMachineDefinition -Name Client1 -Memory 1GB -OperatingSystem 'Windows 10 Education' -DomainName contoso.com`\r\n\r\nBut at this point:\r\n`Install-Lab`\r\n\r\nIt begins to do its thing and I get this:\r\n\r\n```\r\n12:44:50|00:01:23|00:00:00.109|               - Scanning 0 files for operating systemsFound 0 OS images.\r\nThe specified image ('Windows Server 2016 Standard (Desktop Experience)') could not be found on the ISO 'Server 2016 [1607].ISO'. Please \r\nspecify one of the following values: \r\nAt C:\\Program Files\\WindowsPowerShell\\Modules\\AutomatedLabWorker\\5.0.2.4\\AutomatedLabWorkerDisks.psm1:54 char:9\r\n+         throw \"The specified image ('$OsName') could not be found on  ...\r\n+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : OperationStopped: (The specified i...lowing values: :String) [], RuntimeException\r\n    + FullyQualifiedErrorId : The specified image ('Windows Server 2016 Standard (Desktop Experience)') could not be found on the ISO 'Serv \r\n   er 2016 [1607].ISO'. Please specify one of the following values: \r\n```\r\n\r\n"}}
{"actor":{"display_login":"itgl72"}}