PowerCLI Reference

vSphere Imagebuilder Reference

Compare-EsxImageProfile

Synopsis

Syntax

Compare-EsxImageProfile [-ReferenceProfile] <ImageProfile> [-ComparisonProfile] <ImageProfile> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Related Commands

Detailed Description

Returns an ImageProfileDiff object that specifies whether two profiles have the same VIB list and acceptance level. If two profiles are different, the ImageProfileDiff object specifies the differences.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ReferenceProfileImageProfile(pipeline input, prompt) Specifies the reference image profile for comparison.

Takes one of the following forms:

*Name of an image profile, as displayed in the Name column of Get-EsxImageProfile, or the Name property of any ImageProfile object

*ImageProfile object
truetrue (ByValue, ByPropertyName)
ComparisonProfileImageProfile(prompt) The image profile to compare against. Takes one of the following forms:

*Name of an image profile, as displayed in the Name column of Get-EsxImageProfile, or the Name property of any ImageProfile object

*ImageProfile object
truefalse
ConfirmSwitchParameterfalsefalse
WarningActionActionPreferencefalsefalse
WarningVariableStringfalsefalse
WhatIfSwitchParameterfalsefalse

Return Type

Notes

Examples

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

Compare-EsxImageProfile "Profile 1" "Profile 2"

Compares Profile 1 with Profile 2.


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