Accessing .NET components from Powershell

后端 未结 3 1686
情深已故
情深已故 2020-12-09 18:51

I want to use Powershell to write some utilities, leveraging our own .NET components to handle the actual work. This is in place of writing a small console app to tie the c

3条回答
  •  Happy的楠姐
    2020-12-09 19:17

    you can use [] or use add-type -AssemblyName "System.example" to use assembly for example use :

    [system.drawing]::class ...
    

提交回复
热议问题