document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. $VMWare = Import-Module -Name PowerCLI -AsCustomObject -Force
  2. $HyperV = Import-Module -Name Hyper-V -AsCustomObject -Force
  3.  
  4. $VM1 = $VMWare.Get-VM("XVM-00-CLI00")
  5. $VM2 = $HyperV.Get-VM("XVM-99-SVR90")
  6.  
  7. #Using 2 modules with commands of the same name.
');