MYCSS

25 лютого 2014 р.

DHCP Alternate Configuration PowerShell Module

DHCP Alternate Configuration PowerShell Module






Description

There is currently no documented API for managing the DHCP client alternate configuration. Hence this module reads from / writes to the Windows Registry directory. The settings are saved in the value 'Options' under the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Dhcp\ Configurations\Alternate_<NICID>.

The config saved there needs to be set to active. This is done in the value 'ActiveConfiguration' under the key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\ Parameters\Interfaces\<NICID>

This module provides cmdlets to retrieve, remove and set the DHCP clients alternate configuration. The value 'Options' is a binaray value. The length varies from 48 to 128 bytes, depending on the settings made. The format of the value is documented in the function GenrateConfigBytes.

Немає коментарів:

Коли забув ти рідну мову, біднієш духом ти щодня...
When you forgot your native language you would become a poor at spirit every day ...

Д.Білоус / D.Bilous
Рабів до раю не пускають. Будь вільним!

ipv6 ready