VMware Cloud Community
b1naryagent
Contributor
Contributor

PowerCli 5.5 R2 breaks VUM 5.5 Snap-in

Verified on 2 systems:

PowerCLI C:\_data\Scripts\Powershell Scripts> get-patch

get-patch : 3/12/2014 1:24:19 PM Get-Patch        Method 'get_RelatedSrmService' in type 'VMware.VumAutomation.Clien

t40.VumClient' from assembly 'VMware.VumAutomation.Client40, Version=5.5.0.17854, Culture=neutral, PublicKeyToken=null'

does not have an implementation.

At line:1 char:10

+ get-patch <<<<

    + CategoryInfo          : NotSpecified: (:) [Get-Patch], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VumAutomation.Commands.GetPatch

get-patch : 3/12/2014 1:24:19 PM Get-Patch        Method 'get_RelatedSrmService' in type 'VMware.VumAutomation.Clien

t40.VumClient' from assembly 'VMware.VumAutomation.Client40, Version=5.5.0.17854, Culture=neutral, PublicKeyToken=null'

does not have an implementation.

At line:1 char:10

+ get-patch <<<<

    + CategoryInfo          : NotSpecified: (:) [Get-Patch], VimException

    + FullyQualifiedErrorId : Core_BaseCmdlet_UnknownError,VMware.VumAutomation.Commands.GetPatch

6 Replies
alanrenouf
VMware Employee
VMware Employee

Thanks for reporting this, we are looking into the issue and hope to have a resolution soon.

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
0 Kudos
alanrenouf
VMware Employee
VMware Employee

This issue should now be resolved in the latest version of PowerCLI, please can you download it from here and let me know if you have further issues: https://my.vmware.com/group/vmware/get-download?downloadGroup=PCLI550R2

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
0 Kudos
b1naryagent
Contributor
Contributor

Fix verified. Thanks much to you and the team for the quick turnaround.

0 Kudos
alanrenouf
VMware Employee
VMware Employee

Glad to have helped and thanks for raising and verifying the fix.

Blog: http://virtu-al.net Twitter: http://twitter.com/alanrenouf Co-author of the PowerCLI Book: http://powerclibook.com
0 Kudos
CNI0
Enthusiast
Enthusiast

It also fixed my system. Now my next problem is that it does not work with Powershell Version 3. In my eyes this is a very embarrassing fault....

wpsnz
Contributor
Contributor

Hi Alan,

I am getting this error when the script tries to import the baseline.

Test executed after installing and repairing the installation of VMware-UpdateManager-Pscli-5.5.0-1302474 with PCLI 5.5 R2 running in version 2 compatibility in Windows 2008 R2.

Import ' Broadcom driver ' to the server


The term 'VMware.VumAutomation.Types.PatchImpl' is not recognized as the na

me of a cmdlet, function, script file, or operable program. Check the spelling

of the name, or if a path was included, verify that the path is correct and try

again.

At ExportImportBaselines.ps1:34 char:10

+  return . <<<< $result;

    + CategoryInfo          : ObjectNotFound: (VMware.VumAutomation.Types.Patc

   hImpl:String) [], CommandNotFoundException

    + FullyQualifiedErrorId : CommandNotFoundException

CreateStaticBaseline : Static baseline 'Broadcom driver' can't

be imported. No one of the patches it contains are available on the server

At ExportImportBaselines.ps1:87 char:26

+      CreateStaticBaseline <<<<  $baseline $destinationServer

    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorExcep

   tion

    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorExceptio

   n,CreateStaticBaseline

0 Kudos