Add method of the PS_DhcpServerInDC class
Adds the server to the list of authorized DHCP servers in AD. A DHCP server running on a domain joined computer needs to be authorized in AD so that it can start leasing IP addresses on the network.
Syntax
uint32 Add( [in] string DnsName, [in] string IPAddress, [in] boolean PassThru, [out] string cmdletOutput );
Parameters
- DnsName [in]
-
DNS name of the DHCP server to be added to the list of authorized DHCP servers in AD
- IPAddress [in]
-
IP address of the DHCP server which is to be added to the list of authorized DHCP server in AD
- PassThru [in]
-
TBD
- cmdletOutput [out]
-
TBD
Requirements
|
Minimum supported client | Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [desktop apps only] |
|
Namespace |
\root\Microsoft\Windows\DHCP |
|
MOF |
|
See also
Build date: 12/6/2012
