Summary: Find required assemblies for your Windows PowerShell modules.
How can I use Windows PowerShell to show required assemblies for my Windows PowerShell modules?
Use the ExpandProperty parameter of Select-Object and choose the RequiredAssemblies property from the Get-Module cmdlet after you have imported all Windows PowerShell modules:
Get-Module -ListAvailable | Import-Module
Get-Module | Select-Object -ExpandProperty requiredassemblies
By using aliases, this command shortens to:
gmo -l | ipmo
gmo | select -Expand requiredassemblies
0 comments