Browsing index pages (2 articles)
↧
PowerShell: Import-Module or Add-Type for .NET assemblies?
I'm using PowerShell 5.1, Windows 10 x64.Which of these 2 cmdlets should I use to load .NET assemblies (in particular .NET Framework 4+ assemblies) into PowerShell? What's the core difference between...
View ArticleAnswer by Cpt.Whale for PowerShell: Import-Module or Add-Type for .NET...
Powershell has three main ways to import classes, not counting .net methods like reflection.assembly. In general, all of them will do what you need just fine, but have extra features:Import-Modulehas...
View Article
Browsing index pages (2 articles)