You can use the Network Shell (Netsh) command-line tool to create customized and scripted DirectAccess deployments. Scripts that use Netsh commands provide you with the flexibility to create unique DirectAccess deployment solutions.

The following Netsh.exe contexts can be used to configure interface, IPv6, IPv6 transition technology, IPsec, or firewall settings:

For more information about using Netsh to customize a DirectAccess configuration, see the DirectAccess home page on Microsoft Technet (

Additional references