Можно просмотреть к примеру установлена ли роль Hyper-V:
dism.exe /online /enable-feature /featurename:Microsoft-Hyper-V