ravi ravi - 1 year ago 116
C# Question

Is it possible to load multiple .dll's using powershell?

I have 10 .dll's which has to be loaded, is it possible to do using the powershell? Small snippet on the same is much appreciated

Answer Source

I think you can load them all by doing the following,

$dlls = (Get-ChildItem -path "Path to Folder containing .dlls").fullname

foreach ($dll in $dlls)
       Add-Type -Path $dll
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download