vmware / dscr-for-vmware

The Repository contains Microsoft PowerShell Desired State Configuration (DSC) Resources for managing VC and ESXi settings.
Other
139 stars 41 forks source link

Export the configuration to a json/yaml file with the new LCM engine #306

Open jatinpurohit92 opened 3 years ago

jatinpurohit92 commented 3 years ago

As we have got rid of mof files by introducing vSphere DSC LCM engine. It would be great if the vSphere DSC LCM engine generates a json/yaml file after New-VmwDSCConfiguration completes the execution.

why?

  1. json/yaml are easy to read
  2. Pass this json/yaml as an input file to New-VMWDSCConfiguration for newer deployment. (Similar to how to extract and clone a host profile with some modifications)