Benutzer-Werkzeuge

Webseiten-Werkzeuge


powershell:assemblyimport

Assemblies importieren

When you can create an .net-based assembly of your reference, you can add it simply with

Import-Module c:\path\to\your\assembly.dll

Using the assembly looks like this:

Example Usual Class:

$var = New-Object [Your.Namespace]::Classname(Constructor Arguments)

Example Static Class:

$var = [Your.Namespace]::Class.Method(Arguments)
powershell/assemblyimport.txt · Zuletzt geändert: 2017/05/02 09:16 von ronny

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki