Azure / GuestConfiguration

PowerShell module for creating, testing, and publishing custom Guest Configuration
MIT License
5 stars 2 forks source link

New-GuestConfigurationPackage cmdlet doesn’t work with ps7.2-preview7 #224

Closed amitsara closed 3 years ago

amitsara commented 3 years ago

Repro steps:

  1. Install latest ps7.2 preview 7
  2. Install guestconfiguration module
  3. Run New-GuestConfigurationPackage cmdlet

image

Expected: Cmdlet should create policy package

Result: Its throwing error

Workaround Install-Module PSDesiredStateConfiguration

Suggestion: PSDesiredStateConfiguration module as a dependency, same like gc module is installing az cmdlets

gaelcolas commented 3 years ago

The problem with adding PSDSC as dependency is the different requirements whether you're on pwsh 7.1.2 or pwsh 7.2.preview6+

github-actions[bot] commented 3 years ago

This issue has not been updated within 14 days

amitsara commented 3 years ago

we can PSDesiredStateConfiguration module as dependency ... also update the doc

amitsara commented 3 years ago

its fixed