PowerShell Module Commands
Aus Wiki-WebPerfect
Version vom 23. Juni 2018, 08:28 Uhr von Admin (Diskussion | Beiträge)
Example for Hyper-V Module 1.1 and 2.0.0.0
Import-Module Hyper-V -RequiredVersion 1.1 $HvM1 = Get-Command -Module Hyper-V Remove-Module Hyper-V Import-Module Hyper-V -RequiredVersion 2.0.0.0 $HvM2 = Get-Command -Module Hyper-V Compare-Object $HvM1 $HvM2