Skip to content

Resource console output json not yaml #918

Open
@ThomasNieto

Description

@ThomasNieto

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Summary

The DSC output is defaulting to json not yaml

Steps to reproduce

PS C:\> dsc resource get -r Microsoft/OSInfo

Expected behavior

Yaml output

Actual behavior

Json output by default


{"actualState":{"$id":"https://developer.microsoft.com/json-schemas/dsc/os_info/20230303/Microsoft.Dsc.OS_Info.schema.json","family":"Windows","version":"10.0.26100","edition":"Windows 11 Professional","bitness":"64","architecture":"x86_64"}}

Error details

Environment data

7.6.0-preview.4

Version

3.2-preview1

Visuals

Image

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions