How to add features to an offline VHDX file with powershell


so trying add features offline image powershell seem rejected each time.  i have read http://technet.microsoft.com/en-us/library/hh831809.aspx can't right.  so here have tried do:
want add dns offline .vhdx
opened powershell admin rights , typed following cmdlets
install-windowsfeature dns -vhdx test.vhdx -restart
offline image want install dns test.vhdx.  this file located in c drive in folder named "hyper_v" 
have tried also:
install-windowsfeature dns -vhdx c:\hyper_v\test.vhdx -restart
no luck.  please advise.  i know how add features offline image via gui know via powershell.  
thank in advance

this not hyper-v question.  might want take question powershell forum - http://social.technet.microsoft.com/forums/en-us/home?forum=winserverpowershell - or scripting guys forum - http://social.technet.microsoft.com/forums/en-us/home?forum=itcg

.:|:.:|:. tim



Windows Server  >  Setup Deployment



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2