Advertisement
ned1313

Install Azure Stack Tools

Mar 25th, 2017
1,240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Trust the PSGallery (optional)
  2. Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
  3.  
  4. #Install the AzureRM Bootstrapper and set API version
  5. Install-Module -Name AzureRm.BootStrapper
  6. Use-AzureRmProfile -Profile 2017-03-09-profile
  7.  
  8. #Install Azure Stack PowerShell Module
  9. Install-Module -Name AzureStack -RequiredVersion 1.2.9
  10.  
  11. #Download the tools from GitHub and extract to a folder in the root
  12. cd \
  13. invoke-webrequest https://github.com/Azure/AzureStack-Tools/archive/master.zip -OutFile master.zip
  14. expand-archive master.zip -DestinationPath . -Force
  15. rm master.zip
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement