Hi ,
We are trying to export/import VUM 5.1 baselines to VUM 6.0. We tried using the scripts provided in VMware blog but we are not able to get the result.
Scripts https://communities.vmware.com/docs/DOC-11973
Script https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vsphere.update_manager.doc%2FGUID-FB9C8381-9D6C-4451-8CCF-99A14B552D59.html
Our existing environment has 3 VUM on 5.1 and about 50+ baselines. New environment is on 6.1.
When we try to run the script as per the above links ,we pass through till line 3 and then we get error as ExportImpotBaselines.ps1 is not a cmdlet. If we remove line 4 then we get Param is not a proper cmdlet.
Script -----------------------------------------------------------------------
$destinationServer = Connect-VIServer <ip_address_of_the_destination_server>
$sourceServer = Connect-VIServer <ip_address_of_the_source_server>
$baselines = Get-PatchBaseline MyBaseline -Server $sourceServer
ExportImportBaselines.ps1 $baselines $destinationServer
Param([VMware.VumAutomation.Types.Baseline[]] $baselines, [VMware.VimAutomation.Types.VIServer[]]$destinationServers)
------------------------------------------------------------------------------
We are using VMware Power CLI 6.3 which is having vSphere Update Manager PowerCLI integrated.
Are we missing some thing? The above links is written for versions 5.1 we tried for exporting from 5.1 to 6.1 but failed.
Can some one help us ? Has any one used the above scripts for other VUM versions?
Regards,
mominn