SlideShare a Scribd company logo
Microsoft Azure Training
2018
Shawn Ismail (Azure MVP)
http://www.cloudranger.net
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
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/
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!)
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
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
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

More Related Content

PPTX
Exam 70-533 Module 1-Lesson 5 - Managing Azure with Azure CLI
PPTX
Exam 70-533 Module 1-Lesson 3 - Managing Azure with the Azure portal
PPTX
Exam 70-533 Module 1-Lesson 6 - Overview of Azure deployment models
PPTX
Lesson 2- Part 2 - Implementing and managing virtual networks with Azure Powe...
PPTX
Exam 70-533 Module 2 -Lesson 2 (Part 1) Implementing and managing virtual net...
PPTX
Exam 70-533 Module 1-Lesson 2 - Overview of Azure
PPTX
Session 39 azure storage - part 2 - blob storage and security
PPTX
Session 44 - Azure SQL Database - Part 1 - Introduction
Exam 70-533 Module 1-Lesson 5 - Managing Azure with Azure CLI
Exam 70-533 Module 1-Lesson 3 - Managing Azure with the Azure portal
Exam 70-533 Module 1-Lesson 6 - Overview of Azure deployment models
Lesson 2- Part 2 - Implementing and managing virtual networks with Azure Powe...
Exam 70-533 Module 2 -Lesson 2 (Part 1) Implementing and managing virtual net...
Exam 70-533 Module 1-Lesson 2 - Overview of Azure
Session 39 azure storage - part 2 - blob storage and security
Session 44 - Azure SQL Database - Part 1 - Introduction

What's hot (16)

PPTX
Exam 70-533 Module 0-Lesson 1 - About this course
PPTX
Exam 70-533 Module 2-Lesson 1 - Overview of Azure networking
PPTX
Exam 70-533 Module 0-Lesson 2 - Overview of Exam 70-533
PPTX
Microsoft Azure Training - [11]Azure Virtual Networks -Part 5 -Cross-premises...
PPTX
48. Azure Active Directory - Part 1
PPTX
70 533 - Module 02 : Implementing and Managing Virtual Networks
PPTX
Aws amity university_presentation_oct-31-2020
PPTX
70-533 -- Course Introduction
PPT
Why you should be using Aegir: The Drupal-oriented hosting system
PPTX
Aegir Introduction
PPTX
AWS elastic beanstalk
PDF
Running WordPress on AWS
PDF
Azure ARM Template
PPTX
Sass is dead
PDF
Rapid Development with Azure Spring Cloud
PDF
Microsoft certification exams 70 533
Exam 70-533 Module 0-Lesson 1 - About this course
Exam 70-533 Module 2-Lesson 1 - Overview of Azure networking
Exam 70-533 Module 0-Lesson 2 - Overview of Exam 70-533
Microsoft Azure Training - [11]Azure Virtual Networks -Part 5 -Cross-premises...
48. Azure Active Directory - Part 1
70 533 - Module 02 : Implementing and Managing Virtual Networks
Aws amity university_presentation_oct-31-2020
70-533 -- Course Introduction
Why you should be using Aegir: The Drupal-oriented hosting system
Aegir Introduction
AWS elastic beanstalk
Running WordPress on AWS
Azure ARM Template
Sass is dead
Rapid Development with Azure Spring Cloud
Microsoft certification exams 70 533
Ad

Similar to Exam 70-533 Module 1-Lesson 4 - Managing Azure with Windows PowerShell (11)

PPTX
Doing Azure With PowerShell
PPTX
Introduction-to-Azure-PowerShell-Module.pptx
PPTX
PowerShell Saturday #009 (Singapore) - Azure + PowerShell
PPTX
Exam 70-533 Module 1-Lesson 1 - Cloud technology overview
PPTX
Managing Azure Components Using Azure PowerShell
PPTX
Windows Powershell and Microsoft Azure : “Global Windows Azure BootCamp 2014 ...
PPTX
Introduction-to-Microsoft-AzurePowerShell Module.pptx
PPTX
Azure Powershell. Azure Automation
PPTX
Azure provisioning at your control
PPTX
06_DP_300T00A_Automate.pptx
PPTX
Azure Integration DTAP Series, How to go from Development to Production – Par...
Doing Azure With PowerShell
Introduction-to-Azure-PowerShell-Module.pptx
PowerShell Saturday #009 (Singapore) - Azure + PowerShell
Exam 70-533 Module 1-Lesson 1 - Cloud technology overview
Managing Azure Components Using Azure PowerShell
Windows Powershell and Microsoft Azure : “Global Windows Azure BootCamp 2014 ...
Introduction-to-Microsoft-AzurePowerShell Module.pptx
Azure Powershell. Azure Automation
Azure provisioning at your control
06_DP_300T00A_Automate.pptx
Azure Integration DTAP Series, How to go from Development to Production – Par...
Ad

Recently uploaded (20)

PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Encapsulation theory and applications.pdf
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
A Presentation on Artificial Intelligence
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Machine learning based COVID-19 study performance prediction
Review of recent advances in non-invasive hemoglobin estimation
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
NewMind AI Weekly Chronicles - August'25-Week II
sap open course for s4hana steps from ECC to s4
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Spectral efficient network and resource selection model in 5G networks
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
A comparative analysis of optical character recognition models for extracting...
Encapsulation theory and applications.pdf
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Diabetes mellitus diagnosis method based random forest with bat algorithm
The AUB Centre for AI in Media Proposal.docx
MIND Revenue Release Quarter 2 2025 Press Release
A Presentation on Artificial Intelligence
Programs and apps: productivity, graphics, security and other tools
Reach Out and Touch Someone: Haptics and Empathic Computing
Machine learning based COVID-19 study performance prediction

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

  • 1. Microsoft Azure Training 2018 Shawn Ismail (Azure MVP) http://www.cloudranger.net
  • 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. 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. 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. 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. 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. 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