-
Notifications
You must be signed in to change notification settings - Fork 50
Closed
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
I expect to be able to list installed PowerShell DSC resources with the DSC cli but the command fails.
dsc resource list --adapter Microsoft.DSC/PowerShell
2025-02-11T13:52:36.084996Z WARN Command: Resource 'pwsh' [exit code 1] manifest description: Error
Steps to reproduce
dsc resource list --adapter Microsoft.DSC/PowerShell
Expected behavior
I expect a list of PowerShell DSC resources.
Actual behavior
An empty list with headers and a warning.
Error details
"WARN Command: Resource 'pwsh' [exit code 1] manifest description: Error"
Environment data
Name Value
---- -----
PSVersion 7.5.0
PSEdition Core
GitCommitId 7.5.0
OS Microsoft Windows 10.0.22621
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Version
3.0.0-rc.1