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

Advice for breaking into the DevOps field

Blogs for Azure Information