[PSS2016]Primal Sense for Comobject-Types

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Posts: 289
Joined: Sun Mar 03, 2013 11:45 am

[PSS2016]Primal Sense for Comobject-Types

Post by Bosparan »

Hi guys,

and yet another small-or-not-so-small request (I'm on a roll!):

When creating a new object with ... New-Object I get good Primal Sense for known .NET types. However, if I want to create a new ComObject, I don't get help at all. Wouldn't it be nice if I actually got some help on that?
For example, this is one I frequently use and is available on all windows computers:
  1. $SYS_ServiceManager = New-Object -ComObject "Microsoft.Update.ServiceManager"
You can get a list of locally available Com-Classes from wmi:
  1. Get-WMIObject Win32_ClassicCOMClassSetting | Select-Object -ExpandProperty VersionIndependentProgId