Skip to content

dsc resource list --adapter Microsoft.DSC/PowerShell fails to list #639

@cdhunt

Description

@cdhunt

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

Image

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

Visuals

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions