Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

Exam 70-533 Module 1-Lesson 4 - Managing Azure with Windows PowerShell

853 Aufrufe

Veröffentlicht am

This lesson is all about how to use Windows PowerShell to get connected to Azure subscription. I go over the need for Azure PowerShell and all the possible ways to get it installed through Web Platform Installer, PowerShell gallery, Microsoft MSI and Azure Cloud Shell for PowerShell. As a bonus I also show how Azure PowerShell can be installed and used on Linux platforms (I demonstrate this through Windows 10 Bash shell).

Please subscribe to the channel to stay updated about the training series. Also please Like and Comment on the training videos. Thank you!

Other sessions of this training series (2018 Edition):
https://www.youtube.com/playlist?list=PLPie5drlGW253H0BX_MCUnfLYE-FsxnW9

Training Site: http://www.cloudranger.net/azure-training
YouTube : https://www.youtube.com/c/CloudrangerNetwork
Slides : http://www.slideshare.net/shawnismail
Twitter : @shawnismail
GitHub : https://github.com/shawnismail/cloudranger

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Exam 70-533 Module 1-Lesson 4 - Managing Azure with Windows PowerShell

  1. 1. Microsoft Azure Training 2018 Shawn Ismail (Azure MVP) http://www.cloudranger.net
  2. 2. Shawn Ismail Microsoft Azure MVP Module 1 - Introduction to Azure Lesson 4 - Managing Azure with Windows PowerShell Twitter: @shawnismail | Blog: http://www.cloudranger.net | LinkedIn: https://www.linkedin.com/in/shawnismail YouTube: https://www.youtube.com/c/CloudrangerNetwork GitHub: https://github.com/shawnismail/cloudranger | Slides: http://www.slideshare.net/shawnismail
  3. 3. Module 1 – Lesson 4 - Managing Azure with Windows PowerShell Azure PowerShell • Windows PowerShell is a scripting platform • Azure has PS modules for Azure cmdlets • Automating IT processes with Scripts (Reusability) • Part of larger deployments (Devops?) • There are various PowerShell modules for Azure (we will focus on the AzureRM module) Azure PowerShell module browser: https://docs.microsoft.com/en-us/powershell/module/ (look for AzureRM PowerShell) Azure PS is an open-source project: https://github.com/Azure/azure-powershell/
  4. 4. Module 1 – Lesson 4 - Managing Azure with Windows PowerShell How to get Azure PowerShell 1. Web platform installer - https://azure.microsoft.com/en-us/downloads/ a) Will get the latest version for you b) It will take care of all the prerequisites 2. The PowerShell Gallery – depends on PowerShellGet module a) Depends on the Windows Management Framework (WMP) : https://www.microsoft.com/en- us/download/details.aspx?id=54616 b) If you are on Windows 10, you are all set to do this. If you are not then download the WMP. c) For all other editions download WMP and take it from there 3. Microsoft Windows Installer package (MSI) 4. Azure Cloud Shell on the Azure Portal (the easiest!)
  5. 5. Module 1 – Lesson 4 - Managing Azure with Windows PowerShell Azure PowerShell Installation We will be using The PowerShell gallery Check if it is already installed and if it is then which version it is: Get-Module AzureRM -ListAvailable | Select-Object -Property Name,Version,Path Install it : Install-Module -Name AzureRM Update it (if you need to in future): Update-Module -Name AzureRM Modules will be located at: C:Program FilesWindowsPowerShellModules
  6. 6. Module 1 – Lesson 4 - Managing Azure with Windows PowerShell Azure PowerShell Login and subscription access You must Authenticate to access the Azure Subscriptions 1. AD Authentication 2. Certificate based authentication (https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource- group-authenticate-service-principal) Using AD authentication: Connect to Azure with an authenticated account: Add-AzureRmAccount Get the current context: Get-AzureRmContext
  7. 7. Training Site: http://www.cloudranger.net/azure-training YouTube : https://www.youtube.com/c/CloudrangerNetwork Slides : http://www.slideshare.net/shawnismail Twitter : @shawnismail GitHub : https://github.com/shawnismail/cloudranger LinkedIn : https://www.linkedin.com/in/shawnismail Thank you for viewing and please the videos on Module 1 – Lesson 4 - Managing Azure with Windows PowerShell

×