Skip to main content

Manage - Network Adapter Protocols

Summary

This script allows you to manage network protocols on Windows machines, including enabling, disabling, and configuring them to use DHCP.

Caution : Use this script with caution. Disabling IPv4 on the machine may result in a network disconnection.

Dependencies

  • Internal Monitor : ProVal - Production - Manage Network Adapters
  • Solution : Manage-NetworkAdapterProtocols

Sample Run

Image

User Parameters

NameExampleRequiredDescription
Set_Environment1True (For First execution)Set to '1' to create the EDFs if they are not already created in the environment. This must be set to '1' for the first execution.

EDFs

NameLevelTypeExampleSectionDescription
Enable SolutionClientCheckbox-Network Adapter SettingsSelect it to enable the solution on the Client
ActionClientDropdown
  • ENABLE
  • DISABLE
  • Enable DHCP
  • Network Adapter SettingsSet it to Enable to enable a protocol, Disable to disable a protocol, Enable DHCP to configure a protocol to use DHCP
    ProtocolClientDropdown
  • IPv4
  • IPv6
  • Both
  • Network Adapter SettingsSelect IPv4 to perform the above action on IPv4, IPv6 to perform the above action on IPv6, Both to perform action on both IPv4 and IPv6. Both option is not supported with the Disable action, as both protocols cannot be disabled simultaneously
    ActionLocationDropdown
  • ENABLE
  • DISABLE
  • Enable DHCP
  • Exclude From Solution
  • Network Adapter SettingsLocation override for Action. Set it to Exclude From Solution to exclude Location from the solution. Script will prefer location Action over Client Action for the location
    ProtocolLocationDropdown
  • IPv4
  • IPv6
  • Both
  • Network Adapter SettingsLocation override for Protocol. Script will prefer location Protocol over Client Protocol for the location
    ActionComputerDropdown
  • ENABLE
  • DISABLE
  • Enable DHCP
  • Exclude From Solution
  • Network Adapter SettingsComputer override for Action. Set it to Exclude From Solution to exclude Computer from the solution. Script will prefer Computer Action over Client/Location Action for the Computer
    ProtocolComputerDropdown
  • IPv4
  • IPv6
  • Both
  • Network Adapter SettingsComputer override for Protocol. Script will prefer Computer Protocol over Client/Location Protocol for the Computer

    Client EDFs

    Image

    Location EDFs

    Image

    Computer EDFs

    Image

    Output

    • Script Logs