dorothyg's Posts

We could certainly use this script. However, when I run it, I get the following errors: Unable to find type : make sure that the assembly containing this type is loaded. At D:\dgtmp\ExportImp... See more...
We could certainly use this script. However, when I run it, I get the following errors: Unable to find type : make sure that the assembly containing this type is loaded. At D:\dgtmp\ExportImportBaselines_svvs.ps1:50 char:70 + $targetType = <<<< ::HOST + CategoryInfo : InvalidOperation: (VMware.VumAutom...pdateTargetType:String) [], RuntimeException + FullyQualifiedErrorId : TypeNotFound Write-Warning : A positional parameter cannot be found that accepts argument 'Patch'. At D:\dgtmp\ExportImportBaselines_svvs.ps1:69 char:16 + Write-Warning <<<< -Message "Unknown baseline type '" $baseline.BaselineType "'" + CategoryInfo : InvalidArgument: ( , ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.WriteWarningCommand C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-PSSnapin "VMware.VumAutomation" | fl -Property Version Version : 4.1.0.5395 I use the script like so: $destinationServers = Connect-VIServer $baselines = Get-Baseline "My Baseline" -Server $sourceServer c:\ps\ExportImportBaselines_VUMU2.ps1 $baselines $destinationServers