Showing results for COM - PowerShell Team

Sep 10, 2006
1
0

Controlling Internet Explorer object from PowerShell

PowerShell Team
PowerShell Team

NOTE: The site must be in the Trusted Sites Zone for this script to work - James Brundage [MSFT] January 5th, 2009 The following example shows how to display all the processes in an IE window and highlight the ones with memory usage of greater than or equal to the specified value. $oIE=new-object -com internetexplorer.application$oIE.navigate2...

COMInternetExplorer.Application
Jul 6, 2006
0
0

Revisiting: Listing all the COM automation PROGIDs

PowerShell Team
PowerShell Team

In the blog entry Listing all the COM automation PROGIDs http://blogs.msdn.com/powershell/archive/2006/06/29/650913.aspx . I showed how you could use the registry to get all the progids that you can use for COM automation. Here is a way to do the same thing via WMI (which allows you to do it to remote machines): Get-WMIObject Win32_ProgIDSpeci...

FAQWMICOM
Apr 25, 2006
0
0

GetObject()

PowerShell Team
PowerShell Team

Monad provides a way to create new com objects with new-object $ie = New-Object -ComObject InternetExplorer.Application$ie.Navigate2(http://blogs.msdn.com/monad)$ie.Visible=1 Great but what about if you want to bind to an existing object?  Where is the equivalent of GetObject()? This is one of those good new/bad news stories.  First the b...

FAQCOM