public ESXiPasswordChanger() { var path = QuickConnectUtils.GetVSpherePowerCLIPath(); if (!String.IsNullOrEmpty(path)) { path = Path.Combine(path, "VMware.Vim.dll"); } else { throw new Exception("VMware vSphere PowerCLI is not installed."); } this.assembly = Assembly.LoadFile(path); }
public void IsOlderRemoteDesktopConnectionVersion() { Assert.IsFalse(QuickConnectUtils.IsOlderRemoteDesktopConnectionVersion()); }
public void IsVSpherePowerCLIInstalled() { Assert.IsTrue(QuickConnectUtils.IsVSpherePowerCLIInstalled()); }
public void GetVSpherePowerCLIPath() { Assert.AreEqual(@"C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI\", QuickConnectUtils.GetVSpherePowerCLIPath()); }
public void GetVSphereClientPath() { Assert.AreEqual(@"C:\Program Files (x86)\VMware\Infrastructure\Virtual Infrastructure Client\Launcher\VpxClient.exe", QuickConnectUtils.GetVSphereClientPath()); }