azure - Powershell Create a New Windows 10 VM -


when creating new style vm in azure via powershell use specify image

set-azurermvmsourceimage -vm $virtualmachine -publishername microsoftwindowsserver -offer windowsserver -skus 2012-r2-datacenter -version "latest" 

i have been looking through publishers/offers cant seem find windows 10?

am looking under wring publisher? looking under windows ones

presuming using msdn subscription, otherwise don't have access win10. can run these commands image

get-azurermvmimagepublisher                                                                                                                                                               get-azurermvmimageoffer -location westeurope -publishername microsoftvisualstudio                                                                                                         get-azurermvmimagesku -location westeurope -publishername microsoftvisualstudio -offer windows    

the final command give list of win10 images (for westeurope), intermediate commands find other images along way (the imageoffer cmdlet has win10 visual studio preinstalled) they're useful able navigate around quickly.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -