![]() If you want to use this in Excel, just copy the screen output and paste it into Excel. I’m no PowerShell guru, so there may be a better way to do some of this, but I recently ran it on a few different lists of over 600 servers each, and it worked great, and didn’t take all that long (relatively speaking). Obviously, you don’t need to run both pings and nslookups if you don’t want to – just comment out the section you don’t need. It does one progress bar for nslookups, and then another bar when it does the pings. It also displays a progress bar across the top as the script is running to give you a sense of how much longer it’ll take. If the machine doesn’t exist it, will tell you that, and if it doesn’t respond to pings it will tell you that too (in a different font color, so it’s easier to see). (One item per line.) It calls that list “$addresses” and then performs a nslookup
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |