ravi ravi - 24 days ago 6x
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