Automation

 View Only
  • 1.  get-cluster

    Posted Jul 23, 2020 11:48 AM

    recently I have installed latest poweCLI module, when i issue get-cluster against vcenter 4.5 and 5.1 it says not supported for get-cluster, is there any way to solve the issue without downgrade?

    get-cluster : 7/23/2020 1:41:48 PM    Get-Cluster Tagging functionality is supported only on vCenter Server 5.1 and newer. The specified server


  • 2.  RE: get-cluster

    Posted Jul 23, 2020 12:06 PM

    HI,

    This cmdlet retrieves the clusters available on a vCenter Server system

    VMware vSphere 5.1

    Syntax

    Get-Cluster [-VM <VirtualMachine[]>] [-VMHost <VMHost[]>] [-Location <VIContainer[]>] [[-Name] <String[]>] [-NoRecursion] [-Server <VIServer[]>] [<CommonParameters>]

    Get-Cluster -Id <String[]> [-Server <VIServer[]>] [<CommonParameters>]

    ARomeo



  • 3.  RE: get-cluster

    Posted Jul 23, 2020 12:35 PM

    ...but vcenter 4.5 not exist:

    Build numbers and versions of VMware vCenter Server

    VMware Knowledge Base

    ARomeo



  • 4.  RE: get-cluster

    Posted Jul 23, 2020 02:23 PM

    Are you trying to use the Tag parameter on the Get-Cluster cmdlet?

    Tags are not supported on such old vSphere versions.

    Downgrading PowerCLI will not help, this is vSphere functionality that does not exist in those old versions



  • 5.  RE: get-cluster

    Posted Jul 23, 2020 03:14 PM

    i am not tagging or adding any parameter i am issung plain command get-cluster but it sasys tagging operation supported 5.1 and newer version



  • 6.  RE: get-cluster

    Posted Jul 23, 2020 03:17 PM

    Then you will have to downgrade your PowerCLI version



  • 7.  RE: get-cluster
    Best Answer

    Posted Jul 29, 2020 06:44 AM

    finally i have uninstall all modules, as 12.0 creates issue and not working with 5.0 earlier version, after lot of time in research installed one by one by seeing compitablity in pS gallery  with 11.0 and it working fine for both my vm core and vrops modules ( never install without seeing compitability and depedency this will never bring you older version 11.0  )