Access non-public types and type members as if they were public.
ClassExplorer is a PowerShell module that enables quickly searching the AppDomain for classes and members.
This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to seeminglyscience@gmail.com.
- Quickly find specific classes, methods, properties, etc
- Use builtin parameters that utilize compiled filters for performance
- Create a fully custom search using a ScriptBlock
- Supported for PowerShell Core (tested in Windows and Linux)
- Type name completion on any Type parameters
- All string parameters accept wildcards (or regex with a switch parameter)
Check out our documentation for information about how to use this project.
Install-Module ClassExplorer -Scope CurrentUser
Install-PSResource ClassExplorer
git clone 'https://github.com/SeeminglyScience/ClassExplorer.git'
Set-Location ./ClassExplorer
./build.ps1
Find-Type RunspaceConnectionInfo
Find-Type -InheritsType System.Management.Automation.Runspaces.RunspaceConnectionInfo
Find-Type -InheritsType System.Management.Automation.Runspaces.RunspaceConnectionInfo |
Find-Type { $_ | Find-Member -MemberType Constructor }
[Management.Automation.Runspaces.NamedPipeConnectionInfo] |
Find-Member -MemberType Constructor |
Get-Parameter
# Or, alternatively this will return all constructors, properties, methods, etc that return any
# implementation of RunspaceConnectionInfo.
Find-Member -ReturnType System.Management.Automation.Runspaces.RunspaceConnectionInfo
using namespace System.Management.Automation.Runspaces
Find-Member -ParameterType RunspaceConnectionInfo -ReturnType RunspacePool
See about_Type_Signatures.help.md
Find-Member -ReturnType { [ReadOnlySpan[byte]] } -ParameterType { [ReadOnlySpan[any]] }
Find-Member -MemberType Method -Instance -ParameterType string -ReturnType bool -ParameterCount 4.. |
Find-Member -ParameterType { [anyref] [any] } |
Find-Member -Not -RegularExpression 'Should(Continue|Process)'
We would love to incorporate community contributions into this project. If you would like to contribute code, documentation, tests, or bug reports, please read our Contribution Guide to learn more.