Set https proxy variable on windows

 Check variables: 

[System.Environment]::GetEnvironmentVariable("HTTP_PROXY","user");
[System.Environment]::GetEnvironmentVariable("HTTPS_PROXY","user");
[System.Environment]::GetEnvironmentVariable("HTTPS_PROXY","user");
[System.Environment]::GetEnvironmentVariable("HTTP_PROXY","user");


Set variable:
setx https_proxy http://<your_proxy_name_or_IP>:3128/ 

Silent gpupdate

  Remote silent execution  gpupdate /force /wait:0 /quiet  

Mais vistos