Get method of the PS_DhcpServerv4Policy class

Gets one or more policies at the server level or the scope level.

Syntax


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

Parameters

ComputerName [in]

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

Name [in]

Name(s) of the policy(ies) to be returned

ScopeId [in]

Scope identifier (in IPv4 address format) from which the policies are to be retrieved. If scope id is not specified, server level policies are retrieved.

cmdletOutput [out]

An embedded instance of the DhcpServerv4Policy 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_DhcpServerv4Policy

 

 

Show: