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

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

PowerShell: List the Hyper-V VM VHD Location


The following PS script is to query the VHD location of each VM running on the hosts listed in the C:\scripts\Hyperv_Hosts.txt file. cls cd "c:\Scripts" $HyperVParents = Get-Content Hyperv_Hosts.txt Foreach ($HyperVParent in $HyperVParents) { $VMManagementService = Get-WmiObject -class "Msvm_VirtualSystemManagementService" -namespace "root\virtualization" -ComputerName $HyperVParent $VMs = Get-WmiObject -Namespace "root\virtualization" -ComputerName $HyperVParent -Query "Select * From Msvm_ComputerSystem … Continue reading PowerShell: List the Hyper-V VM VHD Location