PowerCLI Reference

vSphere Auto Deploy Reference

Get-VMHostImageProfile

Synopsis

Gets the image profile associated with the specified ESXi host.

Syntax

Get-VMHostImageProfile -Entity <VIObjectCore> [<CommonParameters>]

Related Commands

Set-ESXImageProfile
Get-VMHost

Detailed Description

Gets the image profile currently associated with the specified ESXi host. Use the Get-VMHost cmdlet to retrieve the host.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
EntityVIObjectCoreHost to retrieve the image profile information for.truetrue (ByValue)

Return Type

VMware.ImageBuilder.Types.ImageProfile

Notes

Examples

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

C:\PS> Get-VMHostImageProfile -Entity h1

Get the image profile associated with host "h1".

-------------- Example 2 --------------

C:\PS> Get-VMHostImageProfile -Entity (Get-VMHost "h1")

Get the image profile associated with host "h1".


Copyright © 1998 - 2011 VMware, Inc. All rights reserved.