< Back

Get-VDPortgroupOverridePolicy

Sun Jan 19, 2020 7:23 pm

NAME Get-VDPortgroupOverridePolicy



SYNOPSIS

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





SYNTAX

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





DESCRIPTION

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





PARAMETERS

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-VDPortgroup <VDPortgroup[]>

Specifies a distributed port group for which you want to retrieve the default port group overriding policy.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

One or more VDPortgroupOverridePolicy objects







NOTES









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



Get-VDPortgroup "MyVDPortgroup" | Get-VDPortgroupOverridePolicy



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



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... olicy.html

Set-VDPortgroupOverridePolicy