New-LcmOfflineDepot
This cmdlet creates a new vSphere Lifecycle Manager offline depot from a provided online location.
Syntax
[-Description
<String>]
[-Location <Uri>]
[-OwnerData <String>]
[-RunAsync]
[CommonParameters]
[-Location <Uri>]
[-OwnerData <String>]
[-RunAsync]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
String | named |
|
Provides a description of the depot that you want to create. | optional |
|
Uri | named |
|
The URL of the depot update file from which to create the offline depot. | optional |
|
String | named |
|
Any string that you want to associate and store with the depot. | optional |
|
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.LcmOfflineDepot
Examples
Example 1
PS C:\> New-LcmOfflineDepot -Location 'http://link/to/offline/depot' -Description 'Company's 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's 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
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.