Did you already try with PowerCLI 6.5.4?
There were some tag issues that were fixed recently.
Ok let me try that , just getting Windows Management Framework . I see PowerCLI is no longer just a downloadable exe
Correct, since 6.5.1 PowerCLI is distributed via the PowerShell Gallery.
Install-Module -Name VMware.PowerCLI
is all you need if you're on a PC with an Internet connection.
So i've gone and installed 6.5.3 and when I run Get-PowerCLIVersion it comes back w/ :
VMware PowerCLI 6.5.1 build 5377412
VMware Cis Core PowerCLI Component 6.5 build 6983166
VMware VimAutomation Core PowerCLI Component 6.5 build 6234650
So I tried running the following command:
PS U:\> Update-Module -name VMware.PowerCLI -RequiredVersion 220.127.116.1155375 -Verbose
VERBOSE: Checking for updates for module 'VMware.PowerCLI'.
VERBOSE: Repository details, Name = 'PSGallery', Location = 'https://www.powershellgallery.com/api/v2/'; IsTrusted = 'True'; IsRegistered = 'True'.
VERBOSE: Using the provider 'PowerShellGet' for searching packages.
VERBOSE: Using the specified source names : 'PSGallery'.
VERBOSE: Getting the provider object for the PackageManagement Provider 'NuGet'.
VERBOSE: The specified Location is 'https://www.powershellgallery.com/api/v2/' and PackageManagementProvider is 'NuGet'.
VERBOSE: Searching repository 'https://www.powershellgallery.com/api/v2/FindPackagesById()?id='VMware.PowerCLI'' for ''.
VERBOSE: Total package yield:'1' for the specified package 'VMware.PowerCLI'.
VERBOSE: Skipping installed module VMware.PowerCLI 18.104.22.16855375.
I'm having the same problem as Almero, I can't run TAG commands and I can't run any VMware.VIMAutomation.Storage module commands.
I did notice SOMETIMES when I run a tag command from a version of PowerCLI of 6.5 or 6.1 my tag commands error out with the following:
Tag's used to work when we were on vCSA 6.0 but as soon as I updated to 6.5U1 (was only trying this once we finished upgrade) it all stopped working...
I've tried this on multiple machines, w/ different versions of PowerCLI and it seems to be consistent in the fact that it just no longer works...
I'm wondering if its something to do with vCSA 6.5U1 or 6.5 in general? As I am only able to get this result when using a Windows 2008 R2 server with PowerCLI 6.3 R1 installed (Error is image above)
When I try to run these same commands on Win10 Pro 1709 the commands just say executing and never stop, i've left a window open for 2 hours and it never error'd out...
Does anyone have any suggestions as I've been searching and reading all morning and this was the CLOSEST thread i've found and it looks like others have the same issue.... Has anyone opened up a Service Request? If not I think I will...
Just wanted to give an update....
I'm on the phone w/ support we have a Enterprise Plus Support Agreement, and this person i'm talking to will NOT troubleshoot or support this request.. She says it requires a SDK Entitlement Agreement, which makes no sense... DO we have access to anyone in this community who can help us with this support problem, as it seems to be a general issue with vCenter 6.5 (from what I can tell..), thanks!
As Kyle wrote in that post I mentioned earlier, you could pass this to your account team.
In parallel I'll try to get this under the attention of one of the PowerCLI persons.
LucD, so had to talk to a Support Manager, who has to get clarification from the SDK team on what to do as he is saying internal documents regarding PowerCLI support are contradicting the blog post you kindly gave to me. I don't know why its difficult to have this supported literally took me 30min of arguing w/ the initial tech to even get them to escalate to the support manager, after asking for it multiple times. Hopefully will get help so I can pass it along.
Thanks for all your help and the article, if it wasn't for them literally reading that article themselves, and showing it to the support manager I would have still been arguing my point till now, much appreciated!
Hi Guys .
I have upgraded to Windows Management Framework 5.0 and PowerCLI 6.5.4 .
Get a new error >
From my humble point of view it does look like its related to SRM auto Tags not returning a category .
Funny thing is , in the web client there is a built in category not shown via PowerShell .
I am trying to find out if I can disable these SRM auto tags if I DO NOT intend to use Storage DRS ( without breaking my Protection groups and RPs )
Option 2 listed in this informal article .
Any Thoughts ?