Hello I am trying to add website to iE10 Compatibility view
here is what i have so far
$key = "HKLM:\SOFTWARE\Wow6432Node\Policies\Microsoft" if(-Not (Test-Path "$key\Internet Explorer")) { New-Item -Path $key -Name "Internet Explorer" | Out-Null } if(-Not (Test-Path "$key\Internet Explorer\BrowserEmulation")) { New-Item -Path "$key\Internet Explorer" -Name "BrowserEmulation" | Out-Null } if(-Not (Test-Path "$key\Internet Explorer\BrowserEmulation\PolicyList")) { New-Item -Path "$key\Internet Explorer\BrowserEmulation" -Name "PolicyList" | Out-Null } $domains = @("google.com","192.168.1.0/24") $regkey = "$key\Internet Explorer\BrowserEmulation\PolicyList" foreach($domain in $domains) { New-ItemProperty -Path $regkey -Name $domain -Value $domain -PropertyType String | Out-Null }
any help would be greatly appreciated