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
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
ReferenceProfile | ImageProfile | (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 | true | true (ByValue, ByPropertyName) | |
ComparisonProfile | ImageProfile | (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 | true | false | |
Confirm | SwitchParameter | false | false | ||
WarningAction | ActionPreference | false | false | ||
WarningVariable | String | false | false | ||
WhatIf | SwitchParameter | false | false |
Return Type
Notes
Examples
---------- Example 1 ----------
Compare-EsxImageProfile "Profile 1" "Profile 2"
Compares Profile 1 with Profile 2.