Hyper-v switch unable to find object

Hi There,

Today i had a error on trying to assign a network card as a external network switch in hyper-v on my windows 10 machine. It reported that it couldn’t find the object which was it’s self. A quick google found the answer. Open a evaluated command prompt and enter MOFCOMP %SYSTEMROOT%\System32\WindowsVirtualization.V2.mof it should then rebuild the wmi components for virtualization.