Hosting Exchange 2007 is a difficult, tedious, and expensive venture to be certain. Taking into consideration the extensive hardware investments required, the development required to create an automated process to deploy new domains, create new mailboxes, set size and feature limitations on those mailboxes (or purchasing support for Microsoft’s HCM solution which uses the outdated [...]
Here is a handy chunk of powershell code that uses the native windows command Nslookup to parse a list of IPs and output the IP and the reverse lookup value to a text file. This is especially usefull when you have a large number of IPs to check.
1
2
3
4
5
6
7
8
9
10
11
$ips = Get-Content nslookup.txt
$nslookupresults = "M:\Scripts\nslookupresults.txt"
clear-content $nslookupresults
Foreach ($ip [...]