All Forums >> [Scripting] >> Windows PowerShell >> COM Objects Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
COM objects can also be created with New-Object. Not all COM objects are supported, however. Objects based on Exchange Collaboration Data Objects (CDO) are not supported in this release.
The following example creates an Internet Explorer object, navigates to http://www.msn.com/ and then makes the browser visible:
This script starts a calculator and sends keystrokes via the wscript.shell object
To collect the processes on a system and present them grouped by PriorityClass, type: