Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

IE & powershell

$
0
0

hi everyone,

i try to add a website as trusted into internet explorer and at the same time authorize all the ActiveX option on all the trusted websites... actually i added the website to the trusted list but i don't find a way to authorize ActiveX on it.

this is the code i am using :

set-location "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
set-location ZoneMap\Domains
new-item *.domain.com
set-location *.domain.com
new-itemproperty . -Name http -Value 2 -Type DWORD

thank you for help : :)


Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>