Powershell – How to remove a web proxy from your config

exchange-2010powershell

While looking for a solution to a problem, I added an InternetWebProxy to our Exchange server configuration:

Set-ExchangeServer -Identity SBS -InternetWebProxy foo

Now my proxy is set to foo, but how do I undo that change again?

I tried setting it to "", '', ``, Null, False, but nothing is accepted.

Best Answer

Use $null:

Set-ExchangeServer -Identity SBS -InternetWebProxy $null