ravi ravi - 8 months ago 50
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


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