Powershell Proxy setting -
with cmdlet can check proxy setting in powershell:
$regkey="hkcu:\software\microsoft\windows\currentversion\internet settings" $proxyserver = get-itemproperty -path $regkey $proxyserver | fl *proxy*
or cmdlet:
get-itemproperty registry::hkcu\software\microsoft\windows\currentversion\internet settings' | select-object *proxy*
my question is, how can proxy settings network user?
enter-pssession -computername "nameofcomputer" | get-itemproperty registry::hkcu\software\microsoft\windows\currentversion\internet settings' | select-object *proxy*
this requires winrm service running on target host.
if winrm not running ran logon script | out-file "someplace\output.txt" share folder data.
Comments
Post a Comment