DNS Client Cmdlets in Windows PowerShell

Windows PowerShell® es un lenguaje de scripting y shell de línea de comandos basado en tareas diseñado especialmente para la administración del sistema. En este tema de referencia para los profesionales de tecnologías de la información (TI) ofrece ayuda en el uso de los cmdlets de Windows PowerShell para crear scripts y automatizar las tareas.

Domain Name System (DNS) Client

This reference provides cmdlet descriptions and syntax for all Domain Name System (DNS) Client-specific cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

cmdlet Description

Add-DnsClientNrptRule

Adds a rule to the Name Resolution Policy Table (NRPT).

Clear-DnsClientCache

Clears the contents of the DNS client cache.

Get-DnsClient

Retrieves details of the network interfaces configured on a specified computer.

Get-DnsClientCache

Retrieves the contents of the DNS client cache.

Get-DnsClientGlobalSetting

Retrieves global DNS client settings like the suffix search list.

Get-DnsClientNrptGlobal

Retrieves the Name Resolution Policy Table (NRPT) global settings.

Get-DnsClientNrptPolicy

Retrieves the Name Resolution Policy Table (NRPT) configured on the computer.

Get-DnsClientNrptRule

Retrieves DNS client Name Resolution Policy Table (NRPT) rules.

Get-DnsClientServerAddress

Gets DNS server IP addresses from the TCP/IP properties on an interface.

Register-DnsClient

Registers all of the IP addresses on the computer onto the configured DNS server.

Remove-DnsClientNrptRule

Removes the specified DNS client Name Resolution Policy Table (NRPT) rule.

Resolve-DnsName

Performs a DNS name resolution for the specified name.

Set-DnsClient

Sets the interface specific DNS client configurations on the computer.

Set-DnsClientGlobalSetting

Sets the DNS client global settings, including the non-interface specific settings.

Set-DnsClientNrptGlobal

Modifies the global Name Resolution Policy Table (NRPT) settings.

Set-DnsClientNrptRule

Modifies a DNS client Name Resolution Policy Table (NRPT) rule for the specified namespace.

Set-DnsClientServerAddress

Sets DNS server addresses associated with the TCP/IP properties on an interface.

Nota

To list all the cmdlets that are available, use the Get-Command -Module DnsClient cmdlet.

Para conocer más información o la sintaxis de cualquiera de los cmdlets, use el cmdlet Get-Help <nombre de cmdlet>, donde <nombre de cmdlet> es el nombre del cmdlet del que quiere información. Para obtener información más detallada, puede ejecutar cualquiera de los siguientes cmdlets:

Get-Help <nombre de cmdlet> -Detailed
Get-Help <nombre de cmdlet> -Examples
Get-Help <nombre de cmdlet> -Full

More Information

For more information about the cmdlets, see the following:

-