Clearing DNS cache on vCenter Server Appliance 6.5/6.7 - Just Virtualise It (kanecharles.com) I came across a situation recently where I was building some nested ESXi hosts and had configured the incorrect IP address for their DNS record, only to realize this after attempting to add the host into Center: By attempting to add the host, vCenter will query your DNS servers for the IP address associated with the FQDN you have supplied (assuming you did this method, not via IP address). If you have set the wrong IP on your DNS server for the above FQDN record, you have 2 options: Wait a short while for vCenter to clear the cache entry for this FQDN, thus allowing you to add the host with the correct IP from the DNS record Clear the DNS cache on your vCenter Server Appliance (vCSA) vCSA 6.5 upwards runs on Photon OS with dnsmasq acting as a local caching nameserver (thank you to Brandon for the comment to clarify). Enough rambling, so how do we do it? If you’re anything like...
I recently needed to start using PowerShell for projects and Googled the best ISE for beginners and downloaded several but I found that ISE Steroids was the best. http://www.isesteroids.com I like most use examples from Googling and sites I use a lot. ISE Steroids has a bar and tab PSSharper that gives you suggestions on Errors, Warnings, Shortings, Performance Issues, Suggestions, Tasks, Compats, Infos, and Ignored Rules. I was so surprised that a lot of the examples from sites I trusted for learning used alias in scripts. As you can see in the above image PSSharper gives the info for uses of alias. Something else I really like too is the suggestion PSSharper gives you, you can select one and it takes you to that line and you take the suggestion that it offers oh and for the entire script. I know for me that was a "Wow" moment when I had made the same mistake throughout one of my scripts. I recommend for anyone to try ISE Ster...
Comments