Open marcohald opened 3 years ago
I'll start testing on this, but I agree, there should be a better way. Could this be done with a Global Variable possibly?
If I understand you right, you suggest to use the $global Prefix for each Proxy Configuration Option ? Should I keep the Parameter for it in the Edit-OSDCloud.winpe function and set the Global Variables there ? Should I use any specific prefix, so that they do not collide with Global Variables that a User has already set ?
It works in my Environment with a Proxy that does Basic Auth. I'm not able to test it without a Proxy at the moment. But it should continue to work.
The Paramter addition to Test-WebConnection and Save-WebFile are not as beatufiull as I would like to have. But i know no other Method to do it. I'm happy if anyone can Point me in a Direction to configure the Proxy Settings in a Config File that the commands Test-WebConnection and Save-WebFile can read or anything like that.