PowerCLI Reference

Get-VMHostProfileImageCacheConfiguration

Synopsis

Retrieves an image cache configuration for the given host profile.

Syntax

Get-VMHostProfileImageCacheConfiguration [-HostProfile] <VMHostProfile[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online Version
Set-VMHostProfileImageCacheConfiguration

Detailed Description

Retrieves an image cache configuration for the given host profile. This configuration encapsulates the host image caching settings.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
HostProfileVMHostProfile[]Specifies the virtual machine host profile.trueTrue (ByValue)
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no 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.falseTrue (ByValue)

Return Type

VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileImageCacheConfiguration[]

Notes

Examples

-------------------------- Example 1 --------------------------

PS C:\> Get-VMHostProfileImageCacheConfiguration -HostProfile "Host Profile"

Retrieves the image cache configuration for the host profile named Host Profile.


Copyright © VMware, Inc. All rights reserved.