## 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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
VDPortgroup | VDPortgroup[] | Specifies a distributed port group for which you want to retrieve the default port group overriding policy. | true | true (ByValue)
Server | VIServer[] | 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. | false | false

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.