You were correct. I reinstalled UpdateManager PowerCLI to resolve the missing snapin problem. I think I created that problem troubleshooting the other error. Unfortunately, I still can't get...
See more...
You were correct. I reinstalled UpdateManager PowerCLI to resolve the missing snapin problem. I think I created that problem troubleshooting the other error. Unfortunately, I still can't get the script to work. I'm a little confused by the usage comments at the begining. It looks like the intention was pass the source, destination and baseline name as command line parameters, but the example only includes 2 of the three. I tried uncommenting the declarations for $destinationServer, $sourceServer, and $baselines, and plugging in the appropriate addresses and baseline name. Now when I run the script I get this error: The term 'param' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again. At D:\PowerCLI\Scripts\ExportImportBaselines_40U1_mod.ps1:22 char:6 + Param( <<<< [VMware.VumAutomation.Types.Baseline[]] $baselines, [VMware.VimAutomation.ViCore.Impl.V1.VIServerImpl[]]$destinationServers)