Hello,
Can someone please tell me:
I have a text file called 'Server_IP' and in that sheet it has all the IPs.
Is there anyway I can script and get the DNS names by doing nslookup of that IPs and get the result in excel sheet (Can save it in D drvie) like below:
(Column A) (Column B)
Server IP Server Name
Isn’t your question straight PowerShell rather than PowerCLI? It seems you’re just looking to extract records from your DNS server, whatever that is...
You could do something like this
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference