[PSS2016]Primal Sense for Comobject-Types
Posted: Thu Nov 10, 2016 6:58 am
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:
You can get a list of locally available Com-Classes from wmi:
Cheers,
Bosparan
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:
- $SYS_ServiceManager = New-Object -ComObject "Microsoft.Update.ServiceManager"
- Get-WMIObject Win32_ClassicCOMClassSetting | Select-Object -ExpandProperty VersionIndependentProgId
Bosparan