Vidanez / DeployVMs

Deploying multiple Linux VMs using PowerCli
MIT License
13 stars 15 forks source link

Snapins #12

Closed mvrk69 closed 6 years ago

mvrk69 commented 6 years ago

Hi,

Would be possible for you to reconstruct the script without using snapins? They are deprecated and not even available in PowerShell CORE.

misteryiz commented 6 years ago

just comment this line. https://github.com/Vidanez/DeployVMs/blob/master/DeployVM.ps1#L159 and replace with the following line : *Get-Module -Name VMware -ListAvailable | Import-Module**

mvrk69 commented 6 years ago

Hi,

Thanks, commenting out the line is enough, it seems powershell core on linux already loads the all installed modules.