Share via


Get method of the PS_DhcpServerv6OptionValue class

Returns the IPv6 option values for one or more IPv6 options either for a specific Reserved IP, scope or server level.

Syntax

uint32 Get(
  [in]  string                  ComputerName,
  [in]  string                  VendorClass,
  [in]  string                  Prefix,
  [in]  string                  ReservedIP,
  [in]  string                  UserClass,
  [in]  uint32                  OptionId[],
  [in]  boolean                 All,
  [in]  boolean                 Brief,
  [out] DhcpServerv6OptionValue cmdletOutput[]
);

Parameters

ComputerName [in]

DNS name or IP address of the target computer running the DHCP server service.

VendorClass [in]

If specified, the Option Values for the specified vendor class are returned.

Prefix [in]

The IPv6 subnet prefix of the scope for which the option values are being requested.

ReservedIP [in]

A reserved IPv6 address for which the option values are being requested.

UserClass [in]

If specified, the Option Values for the specified user class are returned.

OptionId [in]

The numerical identifier of the options whose value(s) is being requested. If not specified, all option values configured are returned.

All [in]

When only All is specified, all the option values (including vendor class and user class specific) for a scope/server/reservation are returned. When All is specified with a specific option id, option values for the specified option id for all vendor and user classes are returned. When Vendorclass and All is specified, all option values for the specified vendor class including those for any user class are returned. When Userclass and All is specified, all option values for the specified user class including any vendor specific options are returned.

Brief [in]

If specified, the name of the option is not returned. This provides a way to run this cmdlet faster if the same is being run repetitively by the caller.

cmdletOutput [out]

An embedded instance of the DhcpServerv6OptionValue class.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\DHCP
MOF
DhcpServerPsProvider.mof
DLL
DhcpServerPsProvider.dll

See also

PS_DhcpServerv6OptionValue