How to install Azure cmdlets using powershell -


i'm trying install azure cmdlets using powershell, not wizard provided microsoft.

that's because script (which has azure cmdlets) used in new virtual machine located in azure , if script try run cmdlet of azure, fail sure.

i put installation lines of powershell cmdlets on top of script install whole cmdlets , after that, script execute other cmdlets without problem.

so, knows?

thanks!

if have web platform installer in vm, can use script posted @ powershell magazine.

http://www.powershellmagazine.com/2014/02/27/using-powershell-and-web-platform-installer-to-install-azure-powershell-cmdlets/

or windows standalone installer https://github.com/azure/azure-sdk-tools/releases , use msiexec install that.

if want use powershell download latest version too:

you can use invoke-webrequest read page (https://github.com/azure/azure-sdk-tools/releases) , links that. can links end .msi , take first link download.

#code not tested $doc = invoke-webrequest 'https://github.com/azure/azure-sdk-tools/releases'  $links = $doc.links.href 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -