Partager via


Get method of the PS_DhcpServerv4ExclusionRange class

Returns the IPv4 address ranges excluded from the specified scope IDs. If scope id is not specified, all IPv4 address ranges excluded on the server are returned.

Syntax

uint32 Get(
  [in]  string                     ComputerName,
  [in]  string                     ScopeId[],
  [out] DhcpServerv4ExclusionRange cmdletOutput[]
);

Parameters

ComputerName [in]

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

ScopeId [in]

The scope identifiers (in IPv4 address format) from which the excluded IP address ranges should be returned.

cmdletOutput [out]

An embedded instance of a DhcpServerv4ExclusionRange object.

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_DhcpServerv4ExclusionRange