PowerCLI Reference

Get-VDPortgroupOverridePolicy

Synopsis

This cmdlet retrieves the policy for overriding port group settings at port level.

Syntax

Get-VDPortgroupOverridePolicy [-VDPortgroup] <VDPortgroup[]> [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online Version
Set-VDPortgroupOverridePolicy

Detailed Description

This cmdlet retrieves the policy for overriding port group settings at port level.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
VDPortgroupVDPortgroup[]Specifies a distributed port group for which you want to retrieve the default port group overriding policy.trueTrue (ByValue)
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falseFalse

Return Type

One or more VDPortgroupOverridePolicy objects

Notes

Examples

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

Get-VDPortgroup "MyVDPortgroup" | Get-VDPortgroupOverridePolicy

Retrieves the overriding policy settings of a distributed port group named "MyVDPortgroup".


Copyright © VMware, Inc. All rights reserved.