Hi Antonio,
thanks for the feedback. Dynamic folders have their limitations and it may not be the right solution for you. We also provide PowerShell cmdlets to create/update documents using a PowerShell script:
https://docs.royalapps.com/r2023/scripting/document/index.html
Maybe a better solution to have a scheduled job somewhere to update/sync the connection file with your vCenter configurations?
Regards,
Stefan
Hello Stefan,
I'm trying to do something like that but right now I have an issue when I modify/replace the existing file in the document store. I'll try to explain:
I have a royal server configured with a document store so that anyone in my team can access this file but I need to update it on a regular basis. I have a script to pull all the VMs from the vCenters and output a rjson file.I open that rjson file from Royal TS to create a rtsz file that then I can move over to the royal server document store. If I replace the current "default.rtsz" inside the royal server document store I need to edit the newer file and change its ID parameter so that it matches the ID of the file initially created in the document store.
This replacement solution was proposed by someone else from your support team and it works, but it's not an "elegant" solution.
With these cmdlets that you mentioned could it be possible to have a PS script that pulls the information from the vCenters and directly updates the file in the document store without the issues?
Regards,
Antonio J.
With these cmdlets that you mentioned could it be possible to have a PS script that pulls the information from the vCenters and directly updates the file in the document store without the issues?
Exactly. You can use our PowerShell cmdlets to directly manipulate the document on the Royal Server.
Perez, Antonio Jose
I use royal server to store the connections file and would love to see that the dynamic folder information could be stored in this kind of file.
I manage a large infrastructure and it takes a long time to pull all the information from all the vCenters only to have it deleted when closing or saving any other stuff.
So the ideal would be to either add an option to make dynamic folders content persistent or add some sort of export/import functionality to store the output of the dynamic folder script into the shared connection document.
Thanks!