{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/256","repository_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation","labels_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/256/comments","events_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/256/events","html_url":"https://github.com/Microsoft/Virtualization-Documentation/issues/256","id":153935041,"number":256,"title":"New-ContainerHost.ps1 fails in Windows 10 [Version 10.0.10586] creating new container host (based on TP5) with error: A parameter cannot be found that matches parameter name 'MinimumVersion'.","user":{"login":"gcapnias","id":101587,"avatar_url":"https://avatars.githubusercontent.com/u/101587?v=3","gravatar_id":"","url":"https://api.github.com/users/gcapnias","html_url":"https://github.com/gcapnias","followers_url":"https://api.github.com/users/gcapnias/followers","following_url":"https://api.github.com/users/gcapnias/following{/other_user}","gists_url":"https://api.github.com/users/gcapnias/gists{/gist_id}","starred_url":"https://api.github.com/users/gcapnias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gcapnias/subscriptions","organizations_url":"https://api.github.com/users/gcapnias/orgs","repos_url":"https://api.github.com/users/gcapnias/repos","events_url":"https://api.github.com/users/gcapnias/events{/privacy}","received_events_url":"https://api.github.com/users/gcapnias/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-10T06:48:53Z","updated_at":"2016-05-15T00:25:32Z","closed_at":null,"body":"Creating temporary VHDX for the Containers OS Image WIM...\r\nInitializing disk...\r\nSaving Container OS image (NanoServer -MinimumVersion 10.0.14300.1000) from OneGet to F: (this may take a few minutes)..\r\n.\r\nDismounting VHD...\r\nC:\\Users\\GeorgeJ\\New-ContainerHost.ps1 : A parameter cannot be found that matches parameter name 'MinimumVersion'.\r\nAt line:1 char:1\r\n+ .\\New-ContainerHost.ps1 -VMName ContainerHost -WindowsImage ServerDat ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException\r\n    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-ContainerHost.ps1\r\n\r\nI've tried removing the \"-MinimumVersion ...\" but still it gives me an error."},"comment":{"url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/comments/219259036","html_url":"https://github.com/Microsoft/Virtualization-Documentation/issues/256#issuecomment-219259036","issue_url":"https://api.github.com/repos/Microsoft/Virtualization-Documentation/issues/256","id":219259036,"user":{"login":"brian-young","id":12627425,"avatar_url":"https://avatars.githubusercontent.com/u/12627425?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-young","html_url":"https://github.com/brian-young","followers_url":"https://api.github.com/users/brian-young/followers","following_url":"https://api.github.com/users/brian-young/following{/other_user}","gists_url":"https://api.github.com/users/brian-young/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-young/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-young/subscriptions","organizations_url":"https://api.github.com/users/brian-young/orgs","repos_url":"https://api.github.com/users/brian-young/repos","events_url":"https://api.github.com/users/brian-young/events{/privacy}","received_events_url":"https://api.github.com/users/brian-young/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T00:25:32Z","updated_at":"2016-05-15T00:25:32Z","body":"@mebersol, I think the root problem might be that the aka.ms redirects in our doc pages ( https://aka.ms/tp5/New-ContainerHost and https://aka.ms/tp5/Install-ContainerHost -- see https://github.com/Microsoft/Virtualization-Documentation/blob/live/virtualization/windowscontainers/quick_start/quick_start_configure_host.md ) aren't pointing at the TP5-locked versions of the scripts, they're pointing at the live versions of the scripts, which includes changes we've made since TP5.\r\n\r\nIn this case, the OneGet Install-ContainerImage and Save-ContainerImage cmdlets have had breaking changes in internal builds, so we've modified the live scripts to use their new parameters (-MinimumVersion/MaximumVersion) rather than the -Version parameter that worked in TP5.\r\n\r\n@neilpeterson, if my analysis holds up, I think at a minimum we need to fix our aka.ms redirects -- can you help us with that?\r\n\r\n@gcapnias, if you have your 10.0.10586 machine still up, you might be able to help us quickly -- I don't have a machine handy to test this out myself. I'm trying to figure out what the *-ContainerImage scripts looked like in Windows 10. If you have a few minutes, could you run the following PowerShell and provide the output?\r\n```\r\nGet-PackageProvider ContainerImage\r\nGet-Help Find-ContainerImage\r\nGet-Help Install-ContainerImage\r\nGet-Help Save-ContainerImage\r\n```\r\nMeanwhile, it's possible you may be able to work around this issue by using the direct link to the older versions of our scripts instead of the broken aka.ms redirection links. For instance:\r\n\r\n- Wherever you see https://aka.ms/tp5/New-ContainerHost , instead use https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/067b4688d540f2b374e1635d201a9500eb52690d/windows-server-container-tools/New-ContainerHost/New-ContainerHost.ps1\r\n- Wherever you see https://aka.ms/tp5/Install-ContainerHost , instead use https://raw.githubusercontent.com/Microsoft/Virtualization-Documentation/067b4688d540f2b374e1635d201a9500eb52690d/windows-server-container-tools/Install-ContainerHost/Install-ContainerHost.ps1\r\n\r\nOf course, that assumes that the version of the scripts targeted at TP5 is sufficient -- this might not work if the ContainerImage package provider has changed substantially between 10.0.10586 and TP5..."}}