AdvinstComHelp PowerShell Module
AdvinstComHelp is a PowerShell module that provides access to Advanced Installer COM interface documentation directly from PowerShell. It allows you to:
- List all documented COM interfaces
- Get information about a specific COM interface
- Get members of a COM interface
- Search for members across all COM interfaces
- View member descriptions, signatures, and kinds
- Inspect the available PowerShell commands
The module works with both: Windows PowerShell 5.1 and PowerShell 7+
Installation
The module is installed in the following custom PowerShell module directory:
%USERPROFILE%\Documents\WindowsPowerShell\Advinst\Modules\AdvinstComHelp
This path is added to the user's PSModulePath, making the module available in both Windows PowerShell 5.1 and PowerShell 7+.
To check whether PowerShell can discover the module:
Get-Module -ListAvailable AdvinstComHelp
Import the Module:
Import-Module AdvinstComHelp -Verbose -Force
Get-AdvinstHelpCommands - Lists the commands exposed by the module together with their syntax and description
Get-AdvinstInterface - Gets a documented COM interface and its members
Get-AdvinstMember - Gets a specific member of a COM interface
Get-AdvinstType - Lists all documented COM interfaces
Find-AdvinstMember - Searches for members across all documented COM interfaces
You can inspect a specific command with:
Get-Command Get-AdvinstInterface
Get Help for the Module Commands
To get an overview of the commands:
Get-AdvinstHelpCommands
Example
Get-AdvinstHelpCommands | Format-Table -Wrap
You can also use PowerShell's standard help system:
Get-Help Get-AdvinstInterface
or:
Get-Help Get-AdvinstMember
Get a COM Interface
Use Get-AdvinstInterface to retrieve information about a specific interface:
Get-AdvinstInterface IDriver
To access its members:
(Get-AdvinstInterface IDriver).Members
Inspect Interface Members
Use Get-Member to inspect the structure of the returned member objects:
(Get-AdvinstInterface IDriver).Members | Get-Member
For example, access the description of every member:
(Get-AdvinstInterface IDriver).Members.Description
Display Interface Members
Display the most useful member information in a table:
(Get-AdvinstInterface IDriver).Members |
Format-Table Name, Description, Signature, Kind
This provides:
- Name - member name
- Description - documentation for the member
- Signature - COM method/property signature
- Kind - member type
Get a Specific Member
Use Get-AdvinstMember to retrieve a specific member:
Get-AdvinstMember -Interface IDriver -Name File
The parameters can also be supplied positionally:
Get-AdvinstMember IDriver File
Both commands are equivalent.
Search for a Member
Use Find-AdvinstMember to search across the documented COM interfaces:
Find-AdvinstMember Name
The results are available through the Matches property:
(Find-AdvinstMember Name).Matches
This is useful when you know a concept or keyword but don't know which interface contains the relevant member. For example:
(Find-AdvinstMember InstallUnsignedDriverPackages).Matches
Working with the Returned Objects
The commands return PowerShell objects, so their results can be processed using standard PowerShell commands. For example:
$helpObj = (Get-AdvinstInterface IDriver).Members |
Select-Object Name, Description, Signature
You can then access individual properties:
$helpObj.Name
You can also filter and format the results:
(Get-AdvinstInterface IDriver).Members |
Where-Object Kind -eq "Method" |
Format-Table Name, Description, Signature
Typical Workflow
A typical workflow when looking for a COM API is:
1. List available interfaces
Get-AdvinstType
2. Inspect an interface
Get-AdvinstInterface IDriver
3. List its members
(Get-AdvinstInterface IDriver).Members |
Format-Table Name, Description, Signature, Kind
4. Search for a specific concept
(Find-AdvinstMember InstallUnsignedDriverPackages).Matches
5. Get a specific member
Get-AdvinstMember IDriver File
This provides a workflow from interface discovery → member discovery → detailed member documentation.
Command Summary
Get-AdvinstType
Lists all documented COM interfaces.
Get-AdvinstType
Get-AdvinstInterface
Gets a documented COM interface.
Get-AdvinstInterface IDriver
Get-AdvinstMember
Gets a specific member from an interface.
Get-AdvinstMember IDriver File
or
Get-AdvinstMember -Interface IDriver -Name File
Find-AdvinstMember
Searches member names and descriptions across all documented interfaces.
(Find-AdvinstMember Name).Matches
Get-AdvinstHelpCommands
Lists the commands exposed by the module, together with their syntax and description.
Get-AdvinstHelpCommands
Example
A complete example of exploring the IDriver interface:
Import-Module AdvinstComHelp
# Inspect the interface
Get-AdvinstInterface IDriver
# List its members
(Get-AdvinstInterface IDriver).Members |
Format-Table Name, Description, Signature, Kind
# Get a specific member
Get-AdvinstMember IDriver File
# Search for a concept
(Find-AdvinstMember InstallUnsignedDriverPackages).Matches