-
Notifications
You must be signed in to change notification settings - Fork 54
Closed as not planned
Labels
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest version
- Search the existing issues.
Summary
Hi team,
When I try to export current configuration base on documentation
https://learn.microsoft.com/en-us/powershell/dsc/reference/cli/config/export?view=dsc-3.0
Theere is no option to point --path for export configurartion, when I check dsc config export -h I get this options avalible as Input
Steps to reproduce
- Install IIS server manually
- dsc config export -h
Expected behavior
dsc config export -p .\iis.dsc.yamlActual behavior
Options:
-i, --input <INPUT> The input document as JSON or YAML to pass to the configuration or resource
-f, --file <FILE> The path to a file used as input to the configuration or resource. Use '-' for the file to read from STDIN.
-o, --output-format <OUTPUT_FORMAT> The output format to use [possible values: json, pretty-json, yaml]
-h, --help Print helpError details
Missing option or incorect optionsEnvironment data
Name Value
---- -----
PSVersion 5.1.26100.2161
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.26100.2161
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1Version
3.0.0.
Visuals
No response
