Tuesday, July 1, 2014

[OpsMgr 2012][Powershell] Access Denied launching the InternetExplorer.Application COM using Powershell ( #Powershell #VBS #OpsMgr )

My Colleague Florian AGUETTAZ was asked to create a two state monitor based on a script checking the value of two webpages.
He first decided to create a Powershell script to create an IE connexion but he has a lot of permission issues.

MyScripts.ps1 : Retrieving the COM class factory for component with CLSID {0002DF01-0000-0000-C000-000000000046} failed due to the following error: 80070005.

CLSID {0002DF01-0000-0000-C000-000000000046} is corresponding to the IE component and the error 80070005 is an Access Denied.



Then he has tried to use VBS script in his MP and has been able to retrieve the status of both web pages.

He has made an interesting  post on his experience and give the script he has used.

http://florianaguettaz-it.blogspot.fr/2014/07/opsmgrpowershell-access-denied.html
 
 
 
 

This posting is provided "AS IS" with no warranties.

No comments:

Post a Comment