Hello,
I need some help with a few PowerCLI scripts for my vCenter migration project specifically with datastores. I would like once script that will export all the folders, datastore clusters and it's members to either csv or xml for a specified virtual datacenter. Then another script to import the exported csv/xml to a specified virtual datacenter. I will run the export script on my old vCenter then run the import script on my new vCenter after I've migrated the ESXi hosts over. Attached is s sample screen shot of the folders and datastore clusters/members. Thanks in advance for any help.
Here are the results of Import-Csv -Path .\dsc-info.csv -UseCulture
Name : VCSE
SpaceUtilizationThresholdPercent : 80
IOLatencyThresholdMillisecond : 15
IOLoadBalanceEnabled : False
SdrsAutomationLevel : FullyAutomated
DSCPath : AMER Sales & Training/sjc_vcse_user_rw/VCSE
Datastores : san208 - VCSE
Think I might have found the issue.
Can you change the third line with
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
That did it LucD! Thank you again for all the help! We're planning a big vCenter migration and this will save me a lot of time and effort.