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

VSTS error - PackageDeploymentFailed - using WebDeploy

AWS - Basic EC2 / Snapshot Cleanup