New-VMOvfProperty¶
Synopsis¶
Create a single OVF Property on a standard VM.
Syntax¶
New-VMOvfProperty [-vm] <PSObject> [-property] <PSObject> [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description¶
The New-VMOvfProperty` cmldet accepts a object with property details, parses it and adds it to supplied VM.
Examples¶
Example 1¶
New-VMOvfProperty -vm $vm -property $propertyObject
Parameters¶
-vm¶
The virtual appliance to set the property on.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-property¶
The property to set on the virtual appliance.
Type: PSObject
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ProgressAction¶
Progress Action
Type: ActionPreference
Parameter Sets: (All)
Aliases: proga
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Common Parameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.