Just a quick post to let you know that you can make your life easier (most of the times đ ) when for example using default paramaters for your PowerShell cmdlets. This is done by using $PSDefaultParameterValues which allows you to specify default parameters for parameters in your cmdlets. It will be available in session in which you are working in.
Example ?
$PSDefaultParameterValues.Add('Invoke-WebRequest:Proxy','http://comeproxy.server:80') $PSDefaultParameterValues.Add('Invoke-WebRequest:ProxyUseDefaultCredentials',$true)
Just remember that those settings will alive only in your current powershell session.