Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Find All Required Assemblies for PowerShell Modules

$
0
0

Summary: Find required assemblies for your Windows PowerShell modules.

Hey, Scripting Guy! Question How can I use Windows PowerShell to show required assemblies for my Windows PowerShell modules?

Hey, Scripting Guy! Answer 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


Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>