Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

How can I provide .dlls for Powershell cmdlets?

$
0
0

Hi,

certain (custom) cmdlets obviously need assemblies, for example the
Microsoft.ApplicationServer.Core.dll. On another system they came with the Appfabric installation.
Since I do not need the workflow of this appfabric application but only some of those cmdlets I want to make them available without installation.

I copied the module container with the powershell cmdlets alright and can see them in powershell now.
But the underlying .dlls are not available. How can I make certain that the cmdlets have access to these .dlls. Right now I get an error message like this:

Get-ASApplication : Could not load file or assembly 'Microsoft.ApplicationServer.Core, Version=1.0.0.0, Culture=neutral PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Thank you for your help.

Sincerely
Andi


Andreas


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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