New-LcmOfflineDepot
This cmdlet creates a new vSphere Lifecycle Manager offline depot from a provided online location.
Syntax
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional | Description | String | named |
|
Provides a description of the depot that you want to create. |
optional | Location | Uri | named |
|
The URL of the depot update file from which to create the offline depot. |
optional | OwnerData | String | named |
|
Any string that you want to associate and store with the depot. |
optional | ProgressAction | ActionPreference | named |
|
|
optional | RunAsync | SwitchParameter | named |
|
Indicates that the command returns immediately without waiting for the task to complete. In this mode, the output of the cmdlet is a Task object. For more information about the RunAsync parameter, run "help About_RunAsync" in the VMware PowerCLI console. |
Output
VMware.VimAutomation.ViCore.Types.V1.Lcm.LcmOfflineDepotExamples
Example 1
PS C:\> New-LcmOfflineDepot -Location 'http://link/to/offline/depot' -Description 'Company offline depot' -OwnerData '{depot:security_updates}'
Creates a new offline depot from the depot update file located at http://link/to/offline/depot. OwnerData can be any string that you want to associate with the new depot.
Example 2
PS C:\> New-LcmOfflineDepot -Location 'file:///link/to/offline/depot' -Description 'Company offline depot' -OwnerData 'Building 1 servers' -RunAsync
Creates a new offline depot from the depot update file located at http://link/to/offline/depot. The command will return a task that continues to run in the background
Related Commands
LCMClusterRuleWithTransform
Create LCM cluster rule with transform
Update LCM cluster rule with transform
Update LCM cluster rule with transform
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.
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.