Resolve-DnsName — Basic UsageIT technician command center
PowerShell · Windows Administration

Resolve-DnsName — Basic Usage

Use Resolve-DnsName for a standard administrative task.

Copy-ready commandResolve-DnsName — Basic Usage
Resolve-DnsName example.com

Requirements and permissions

Requirements
Windows PowerShell 5.1 or PowerShell 7
Permissions
Varies by command
Last reviewed
2026-07-31

Examples

Basic Usage

Use Resolve-DnsName for a standard administrative task.

Resolve-DnsName example.com

Original command

Resolve DNS records for a name.

Resolve-DnsName example.com

Common errors

Command not found

Confirm Windows PowerShell 5.1 or PowerShell 7 is installed and available in your current shell.