Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » COM   (RSS)

Invoking PowerShell from VBScript (COM)

There are a number of scenarios where you might want to call PowerShell from VBScript. You might already have an VBScript that does some function and you want to update it to include some PowerShell operation but don't want to convert the entire script
Posted by PowerShellTeam | 3 Comments
Filed under: , , ,

Controlling Internet Explorer object from PowerShell

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

Revisiting: Listing all the COM automation PROGIDs

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

GetObject()

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
Posted by PowerShellTeam | 4 Comments
Filed under: ,
 
Page view tracker