VMware Cloud Community
mmango
Contributor
Contributor

Backup and restore inventory on another vCenter

Hi, I need to backup an restore the inventory and folder structure of avCenter on another virtual center

I've found those scripts

1) InventorySnapshot | VMware Flings

2) https://vm.knutsson.it/2017/04/migrate-folder-structure-from-old-to-new-vsphere-vcenter/

but maybe are too old, i've an 6.0 VC

I.E. When I launch createinventory.ps1 with real passwords and after authenticated with powerCLI to VC i get a bunch of errors that I'm not able to debug.

2019-11-05 10_25_48-Window.png

Can you help me? Thanks

0 Kudos
1 Reply
LucD
Leadership
Leadership

I'm not sure which CreateInventory.ps1 script you are running (I cannot find that in the Fling).
The problem seems to be the quoting that you have in there.
Can you attach the script that you are using?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos