Share via


Get method of the PS_DhcpServerv4Scope class

Returns the IPv4 scope configuration of the specified scopes. If scope id is not specified all the scopes configured on the server are returned.

Syntax

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

Parameters

ComputerName [in]

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

ScopeId [in]

The scope identifier(s) (in IPv4 address format) whose configuration is to be retrieved.

cmdletOutput [out]

An embedded instance of the DhcpServerv4Scope 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_DhcpServerv4Scope