Tip 0001: Invoke-Webrequest for a specific hostname without a host entry

My imposter "Ah-ha" moment of the day is finally realizing that you can invoke-webrequest for a specific hostname without setting a host entry by using the invoke-webrequest cmdlet with the host header.

Ie: invoke-webrequest 172.16.43.5 -Headers @{Host = "mydomain.com"}

Comments

Popular posts from this blog

Azure - Check Invitation Status to guest user

How to update Expired VSTS Service Principal Keys in AzureRM portal

Azure Point to Site VPN failure with error code 809