You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get-DscResource doesn't show class-based DSC resources if the PSD1 has all of these CmdletsToExport, FunctionsToExport, AliasesToExport. To mitigate the issues, one of them has to be commented.
This is a bug introduced during the PowerShell performance related changes. Andrew Menagarishvili has looked into the code and confirmed this bug.
Expected behavior
Get-DscResources should return DSC resources
Actual behavior
Get-DscResource doesn't show the DSC resource
Error details
No error.
Environment data
Observed with OpenSSH V7.1+.
Visuals
Get-DSCResource doesn't show the class-based DSC resource
With workaround by commenting functionsToExport, Get-DscResource shows the class-based DSC Resource
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
Get-DscResource doesn't show class-based DSC resources if the PSD1 has all of these CmdletsToExport, FunctionsToExport, AliasesToExport. To mitigate the issues, one of them has to be commented.
This is a bug introduced during the PowerShell performance related changes. Andrew Menagarishvili has looked into the code and confirmed this bug.
Expected behavior
Get-DscResources should return DSC resources
Actual behavior
Get-DscResource doesn't show the DSC resource
Error details
No error.
Environment data
Visuals
Get-DSCResource doesn't show the class-based DSC resource
With workaround by commenting functionsToExport, Get-DscResource shows the class-based DSC Resource
The text was updated successfully, but these errors were encountered: