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.
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.
Немає коментарів:
Дописати коментар