Closed sdwheeler closed 3 years ago
This issue has not been updated within 14 days
This will be fixed with #155
This issue has not been updated within 14 days
As of the next PS release, GuestConfiguration should require PSDSC v3 module (fix for all linux/win issues). PSDSCv3 itself requires pwsh version 7.2.preview.6+.
This issue has not been updated within 14 days
As of the next PS release, GuestConfiguration should require PSDSC v3 module (fix for all linux/win issues). PSDSCv3 itself requires pwsh version 7.2.preview.6+.
That might not be accurate. On linux, yes we need PSDSCv3 (embedded) to support PowerShell resource, which in turn require 7.2.preview.6+. In theory, I think we'd be ok to load from GC bin path, but that hasn't been tested. On windows, the minimum is pwsh 6.2
Related to https://github.com/MicrosoftDocs/azure-docs/issues/67490
The docs state that the module requires PowerShell 6.2 but the module manifest says the minimum required version is 5.1. See https://github.com/PowerShell/GuestConfiguration/blob/a143cdad713dbaa5dc2a1ad25fabc7dc8334503f/GuestConfiguration.psd1#L24-L25
Module should check the version of PowerShell it is being run in and throw an error if run on 5.1.