Get-LcmSoftwareSpecification
This cmdlet retrieves the vSphere Lifecycle Manager images available on a vCenter Server system. The cmdlet returns a set of vSphere Lifecycle Manager images that correspond to the filter criteria specified by the provided parameters. To specify a server different from the default one, use the -Server parameter.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Id | String[] | named |
|
The identifiers of the specifications |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. |
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Name | String[] | named |
|
The names of the specifications |
optional | ProgressAction | ActionPreference | named |
|
|
optional | Server | VIServer[] | named |
|
Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-VIServer cmdlet. |
Output
VMware.VimAutomation.ViCore.Types.V1.Lcm.LcmSoftwareSpecificationExamples
Example 1
Get-LcmSoftwareSpecification
Retrieves all software specifications available on the connected server.
Example 2
Get-LcmSoftwareSpecification -Id "software-spec-1"
Retrieves the software specifications with the provided identifiers.
Example 3
Get-LcmSoftwareSpecification -Name "software-spec-*"
Retrieves the software specifications with names which match the provided pattern.
Related Commands
LCMClusterRuleWithTransform
New-LCMClusterRuleWithTransform [-Name] <string> -Pattern <string[]> -LcmCluster <VIObjectCore> -NoSignatureCheck [-Item <VIObjectCore[]>] [<CommonParameters>] New-LCMClusterRuleWithTransform [-Name] <string> -AllHosts -LcmCluster <VIObjectCore> -NoSignatureCheck [-Item <VIObjectCore[]>] [<CommonParameters>]
Reset-LCMClusterRuleWithTransform [-DeployRule] <DeployRuleWrapper> [-Force] [-NoSignatureCheck] [<CommonParameters>]
Set-LCMClusterRuleWithTransform [-DeployRule] <DeployRuleWrapper> -LcmCluster <VIObjectCore> [-Pattern <string[]>] [-AllHosts] [-Item <VIObjectCore[]>] [-Force] [-NoSignatureCheck] [<CommonParameters>]
LcmClusterCompliance
This cmdlet tests cluster's hosts compliance respective to its target state.
LcmClusterDesiredState
This cmdlet exports the desired state of a vSphere Lifecycle Manager cluster.
This cmdlet imports a specification file to set a desired state of a vSphere Lifecycle Manager cluster.
LcmClusterDesiredStateRecommendation
This cmdlet generates a desired state recommendation of a vSphere Lifecycle Manager cluster.
LcmClusterHealth
This cmdlet tests cluster's hosts health respective to its target state.
LcmHardwareCompatibility
This cmdlet verifies that the components in the base image are compatible with all storage controllers on the hosts in the cluster in accordance with the VMware Compatibility Guide.
LcmImage
This cmdlet retrieves the vSphere Lifecycle Manager images available on a vCenter Server system.
LcmOfflineDepot
This cmdlet creates a new vSphere Lifecycle Manager offline depot.
LcmSoftwareSpecification
This cmdlet retrieves the vSphere Lifecycle Manager software specifications available on a vCenter Server system.
LcmVMHostDesiredState
This cmdlet exports the desired state of an ESXi host that is managed by vSphere Lifecycle Manager. The desired state consists of the host's base image and the installed software packages.