Home » PowerShell » Powershell NSlookup (.Net Method)

Powershell NSlookup (.Net Method)

Recent Tweets

Enter your email address to follow this blog and receive notifications of new posts by email.

Advertisements

Forward lookup
[Net.Dns]::GetHostEntry(“server01”)

Reverse lookup
[Net.Dns]::GetHostEntry(“172.23.125.11”)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: