Can powershell be used to check the records of an internal URL similar to the get-aduser "user" -property * command

Can powershell be used to check the records of an internal URL similar to the get-aduser "user" -property * command ?

I'm trying to find how I can leverage powershell as a SOC analyst

Upvotes: -1

Views: 88

Answers (2)

slckKadeR
slckKadeR

Reputation: 59

I don't understand question exactly. But you can use ipconfig /displaydns for the cached DNS records.

Also you can use Get-DnsClientCache | Select-Object -Property Entry, Data | Sort-Object Entry | FT on Powershell.

Upvotes: 0

BrettMiller
BrettMiller

Reputation: 1046

You can use Resolve-dnsname in a similar manner to nslookup presuming you're referring to DNS records?

https://learn.microsoft.com/en-us/powershell/module/dnsclient/resolve-dnsname?view=windowsserver2019-ps

Upvotes: 0

Related Questions