Get method of the PS_DhcpServerv4OptionDefinition class

Gets the DHCPv4 option definition for the specified option ids

Syntax


uint32 Get(
  [in]  string                       ComputerName,
  [in]  uint32                       OptionId[],
  [in]  string                       VendorClass,
  [in]  boolean                      All,
  [out] DhcpServerv4OptionDefinition cmdletOutput[]
);

Parameters

ComputerName [in]

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

OptionId [in]

The numerical identifiers of the options for which the option definitions are requested. If none are specified, all the DHCPv4 option definitions are returned.

VendorClass [in]

If specified, returns the option definitions only for the specified vendor class

All [in]

If specified, returns all the option definitions including the vendor class specific option definitions.

cmdletOutput [out]

An embedded instance of the DhcpServerv4OptionDefinition 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_DhcpServerv4OptionDefinition

 

 

Show: