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.
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
Post a Comment