Set-VMHostProfileImageCacheConfiguration
This cmdlet modifies the image cache configuration for the given host profile.
Syntax
-ImageCacheConfiguration <VMHostProfileImageCacheConfiguration[]>
[-DiskArguments <String>]
[-IgnoreSsd <Boolean>]
[-InstallationDevice <VMHostProfileInstallationDevice>]
[-OverwriteVmfs <Boolean>]
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
VMHostProfileInstallationType | 1 |
|
Specifies the installation type that can be either stateless caching or statefull install. | required |
|
VMHostProfileImageCacheConfiguration[] | named |
|
Specifies the configuration that you want to modify. | optional |
|
String | named |
|
Specify a comma-separated list of disks that you want to use based on your order of preference. You can specify more than one disk. Default value is the local disk for this argument. | optional |
|
Boolean | named |
|
Excludes solid-state disks from eligibility. | optional |
|
VMHostProfileInstallationDevice | named |
|
Specifies the installation device that can be either on a host (Disk) or on a USB disk. | optional |
|
Boolean | named |
|
Allows the system to overwrite existing VMFS volumes, if the space is not enough to store the image. | optional |
|
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.Host.Profile.VMHostProfileImageCacheConfiguration[]
Examples
Example 1
Modifies the image cache configuration by setting the installation type to stateless and device type to Disk for the host profile named Host_Profile.
Related Commands
VMHost
VMHostAccount
VMHostAdvancedConfiguration
VMHostAuthentication
VMHostAvailableTimeZone
VMHostDiagnosticPartition
VMHostDisk
VMHostDiskPartition
VMHostFirewallDefaultPolicy
VMHostFirewallException
VMHostFirmware
VMHostHardware
VMHostHba
VMHostModule
VMHostNetwork
VMHostNetworkAdapter
VMHostNetworkStack
VMHostNtpServer
VMHostPatch
VMHostPciDevice
VMHostProfile
VMHostProfileCompliance
VMHostProfileImageCacheConfiguration
VMHostProfileRequiredInput
VMHostProfileStorageDeviceConfiguration
VMHostProfileUserConfiguration
VMHostProfileVmPortGroupConfiguration
VMHostRoute
VMHostService
VMHostSnmp
VMHostStartPolicy
VMHostStorage