To use ‘Connect-VIServer’ cmdlet in your PowerShell script. You have to follow two steps: 1) Install VMware PowerCLI in your machine. It will register itself in PowerShell during the installation. 2) Use ‘Add-PSSnapIn VMware.VimAutomation.Core’ to add the registered PowerShell VMware Snapin to the current session.
Moving VM to Folder in vCenter
To make things more organized in vCenter, I use folders to categorize the servers with the same functions together. The folders can be Production with subfolders SQL server, Linux server … But somehow, two servers refused to move. Everything looks fine, they just did not want to move to a new folder. After being frustrated … Continue reading Moving VM to Folder in vCenter
Clean Up vCenter After Remove It From VMM
1) Remove the vSwitch and port group added by VMM. 2) Remove the attribute named ‘Cluster Invariant’ added by VMM in the VM summary tab. 3) Remove any roles added by VMM (including SCVMM in the name) in the role tab.
Remove vCenter from SCVMM
To remove a VMware VirtualCenter server from VMM In Administration view of the VMM Administrator Console, click Virtualization Managers. In the results pane, select the VirtualCenter server that you want to remove. In the Actions pane, under Virtualization Manager, click Remove. In Host Group view, right click the host group that contained the vCenter cluster … Continue reading Remove vCenter from SCVMM
Autoruns
Autoruns has the most comprehensive knowledge of auto-starting locations of any startup monitor, shows you what programs are configured to run during system bootup or login, and shows you the entries in the order Windows processes them. The utility can be downloaded here: http://technet.microsoft.com/en-us/sysinternals/bb963902