Get-VMHostProfileImageCacheConfiguration

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
required
HostProfile
VMHostProfile[] named
  • pipeline
  • Specifies the virtual machine host profile.
    optional
    Server
    VIServer[] named
  • pipeline
  • 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

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

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

    Related Commands

    Feedback

    Was this page helpful?