Quantcast
Channel: Microsoft Intune
Viewing all articles
Browse latest Browse all 1216

Trusted Sites added through EndPoint Manager via Powershell

$
0
0

The powers above me have mandated that I must add a number of trusted sites for a new third-party service we are planning to roll out. My boss is demanding that our users still have the ability to add trusted sites in internet options. I've questioned this decision since I would prefer to have this locked down from the users being able to add their own trust sites, but this also prevents me from using the built-in admin template within Endpoint Manager. I've created a Powershell script that works on all the machines I've tested locally, but the script will not run properly when deployed through EndPoint Manager. I've trimmed a bit of my full script for this posting, but I hope a second, or third, pair of eyes is able to identify what I'm overlooking.

To clarify I am running the script as system through EndPoint manager.

Powershell
try{...

Viewing all articles
Browse latest Browse all 1216

Latest Images

Trending Articles



Latest Images

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