Lessons Learned

My drop-site for interesting snippets and tips. If it's useful to you as well, great!

Browse by Tags

Tagged Content List
  • Blog Post: I Hate Write-Host So Much…

    Write-Host is evil. It’s just plain evil. In fact, it’s so evil that I learned to make a proxy function for it. What’s a proxy function? Glad you asked. I’m basing my work on this post by Shay Levy. http://blogs.technet.com/b/heyscriptingguy/archive/2011/03/01/proxy-functions-spice-up-your-powershell...
  • Blog Post: One-Liner: Setting Default Web Proxy for Windows Server 2003 and 2008

    Our labs run a mix of Windows Server 2003 and 2008. Setting a proxy in Windows Server 2003 is as follows: CMD> proxycfg.exe proxy.fqdn *.first.excluded.domain;*.second.excluded.domain;*.and.so.forth Windows Server 2008 doesn’t have proxycfg.exe, so the command is: CMD> netsh.exe winhttp...
Page 1 of 1 (2 items)