Browse by Tags

Tagged Content List
  • Blog Post: 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 to PowerShell. You might have some people...
  • Blog Post: 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 equal to the specified value. $oIE=new-object...
  • Blog Post: 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 thing via WMI (which allows you to do it to remote...
  • Blog Post: 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 the equivalent of GetObject()? This is one...
Page 1 of 1 (4 items)