I’m currently working on v2v from VMware to Hyper-v. Because the new VM’s on Hyper-V get new NIC’s all the IP settings are lost and because I didn’t want to restore the settings all manually I wanted to create a powershell script and eventually ended up with a Powershell tool with GUI. It uses the […]
No Run As account is associated with the host.
Error (26193) No Run As account is associated with the host. Recommended Action You have not specified a Run As account for your host. You can add a Run As account to the cluster using Powershell: $Cluster = Get-SCVMHostCluster -Name CLUSTER_NAME $RunAs = Get-SCRunAsAccount -Name "RUN_AS_ACCOUNT" Set-SCVmHostCluster -VMHostCluster $Cluster -VMHostManagementCredential $RunAs
Monitoring VMM Jobs with JobVariable
With the -JobVariable parameter you can create a temporary variable that contains the status (and other good stuff) of the created job. This variable will only be available in the current session, it will not be globally available. The jobvariable will be converted in a variable, you can only set text as -jobvariable. I used […]
Enabling Jumbo Frames on Hyper-V Switch
So, you have enabled Jumbo Frames on your NIC’s and vNIC’s, but your hosts are not not doing Jumbo Frames? This is because the Hyper-V switch still has a MTU of 1500 and the good thing is… There is a way to enable Jumbo Frames on your Hyper-V Switch! The {4D36E972-E325-11CE-BFC1-08002BE10318} subkey in the registry […]
Protected: Powershell Foreach Speed
There is no excerpt because this is a protected post.
VM Network Wizard fails with errorcode 12416
I found a bug in the creation of VM networks. I received the error: VMM is unable to process one of the provided parameters for the cmdlet (New-SCVMSubnet): Cannot convert ‘System.Object[]’ to the type ‘Microsoft.SystemCenter.VirtualMachineManager.LogicalNetworkDefinition’ required by parameter ‘LogicalNetworkDefinition’. Specified method is not supported ID: 12416 I created a Network site called “ABC” on my […]
The EXECUTE permission was denied on the object ‘sp_tables_info_90_rowset_64’
When trying to create a linked server and executing a “select * from” I recieved the following error: OLE DB provider “SQLNCLI11” for linked server “SERVERNAME” returned message “Unspecified error”. Msg 229, Level 14, State 5, Procedure sp_tables_info_90_rowset_64, Line 1 The EXECUTE permission was denied on the object ‘sp_tables_info_90_rowset_64’, database ‘mssqlsystemresource’, schema ‘sys’. Seems like […]
Uninstall Intergration Services
Uninstall Intergration Services on Hyper-V VM using VMM. 1. Start the Hyper-V management console 2. Start and Connect to your Virtual Machine 3. Click on Action > Insert Integration Services Setup Disk 4. Log onto your virtual machine and open the command prompt 5. At the command prompt browse to the Integration Services Setup Disk(D:\ […]
Uninstall VMware Tools with Powershell
In addition to this great post by MigrationMark about Automating VM Migration and uninstalling VMware Tools I decided to write a little powershell script that finds the GUID of the VMware Tools Registry Key and use it to uninstall VMware Tools with this key. This powershell script will uninstall VMware Tools and force shutdown the […]
DFS Replication service stopped replication
Received the following error when trying to figure out why my policy’s were not working. C:\Windows\system32>gpupdate /force Updating policy… Computer policy could not be updated successfully. The following errors were enc ountered: The processing of Group Policy failed. Windows attempted to read the file \\domain.local\SysVol\domain.local\Policies\{3B6204CA-6706-4077-B296-B657A495661 5}\gpt.ini from a domain controller and was not […]