Windows – Powershell/CMD command to open IE10 in compatibility mode

compatibilityinternet explorerpowershellwindows 7

I am looking for a powershell command to open Internet Explorer 10 in compatibility mode
like

C:\Program files(x86)\Internet Explorer\iexplore.exe www.abc.com opens www.abc.com in IE10.

I want to open the same site in IE8, IE9 (compatibility modes of IE10) as well through powershell. Is there any IE parameter/hack to accomplish this ?

Best Answer

Take a look at this: http://msdn.microsoft.com/en-us/library/windows/desktop/ff966512%28v=vs.85%29.aspx

It is MS's compatibility toolkit. Sounds like what you might need as there is not a direct way to enable compatibility mode from the command line (which is what you would need to do if running from a command window or powershell).

Take a look at this answer too as it provides more detailed info on what it sounds like you're trying to accomplish.

Hope that helps.

Related Question