http://vcloud-lab.com/entries/powercli/vmware-powercli-gather-distributed-virtual-switch-information-to-json-file-to-migrate-standard-switchComments on post: VMware Powercli : Gather distributed virtual switch information to JSON file to migrate standard switchVivitiCMS2021-11-11T02:09:37+05:30Virtual Geektag:vcloud-lab.com,2018-07-06:/entries/107558#comment_98593Comment by T2018-07-06T20:41:19+05:302018-07-06T20:41:19+05:30I am not seeing where the xml file is created or how to create it for the next step. tag:vcloud-lab.com,2018-07-09:/entries/107558#comment_98597Comment by Kunal2018-07-09T15:22:17+05:302018-07-09T15:22:17+05:30This is same location where JSON file is createdtag:vcloud-lab.com,2018-07-23:/entries/107558#comment_98665Comment by T2018-07-23T19:25:54+05:302018-07-23T19:25:54+05:30I had to make the following change in order for it to work:
"End {$XmlFile = $JsonFile -Replace 'json', 'xml'; $OverAllInfo | Export-CliXml -Path $XmlFile"
Once I made the change of the path to $XMLfile it worked.tag:vcloud-lab.com,2021-11-11:/entries/107558#comment_161819Comment by G2021-11-11T02:09:37+05:302021-11-11T02:09:37+05:30here and in github is different version of scritp file..
even with last comments not working..... widw?