I have an assembly that contains cmdlets. Can Powershell enumerate the cmdlets available in that assembly, without relying on reflection?
It seems that I should be able to do this with Get-Module, which returns a PSModuleInfo object that has an ExportedCmdlets property, but I can't seem to get results from it with my assembly, though I am able to import the same assembly with Import-Module and then call the cmdlets in it.