mirror of
https://git.ecdf.ed.ac.uk/win_automation/windows-ansible.git
synced 2026-10-26 12:47:21 +00:00
update no proxy list
This commit is contained in:
1 parent
26eaa0187d
commit
a6a235c344
1 file changed
+2
-2
@@ -1,7 +1,7 @@
|
||||
New-GPO -Name "Squid Proxy" -comment "Configure Client VMs to use Squid HTTP proxy"
|
||||
Set-GPRegistryValue -Name "Squid Proxy" -ValueName "ProxyEnable" -key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Value 1 -Type DWord
|
||||
Set-GPRegistryValue -Name "Squid Proxy" -ValueName "ProxyServer" -key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Value "{{ proxy_address }}" -Type String
|
||||
Set-GPRegistryValue -Name "Squid Proxy" -ValueName "ProxyOverride" -key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Value "<local>" -Type String
|
||||
Set-GPRegistryValue -Name "Squid Proxy" -ValueName "ProxyOverride" -key "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Value "<local>,{{ win_project }}-choc.{{ win_project }}.loc" -Type String
|
||||
Set-GPRegistryValue -Name "Squid Proxy" -ValueName "Proxy" -key "HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Control Panel" -Value 1 -Type DWord
|
||||
|
||||
$DomainInfo = Get-ADDomain
|
||||
@@ -10,4 +10,4 @@ $workbenchOU = (Get-ADOrganizationalUnit -Identity "OU=Workbench,$DomainOU").Dis
|
||||
|
||||
New-GPLink -Name "Squid Proxy" -Target $workbenchOU
|
||||
|
||||
Write-Output "THIS SCRIPT ACTUALLY RAN" | Out-File -FilePath 'C:\eidf\ProxyScript.txt'
|
||||
Write-Output "THIS SCRIPT ACTUALLY RAN" | Out-File -FilePath 'C:\eidf\ProxyScript.txt'
|
||||
Reference in new issue
Block a user