hello

when you upgrade to POWERCLI 6.5 then you probably need to edit your scripts

the Add-PSSnapin doesn’t seem to work anymore

replace it with

Get-Module –ListAvailable VM* | Import-Module

say farewell to snapins article here