Getting started with PowerShell for Azure

preview_player
Показать описание
This video shows you how to install the Azure PowerShell cmdlets so you can start working with your Azure subscription using PowerShell like the cool kids instead of the portal.

We look at how to:
* Install-Module Azure
* Install-Module AzureRM
* set-execution policy
* Login-AzureRMAccount
* get-azureRMVM
* Start-AzureRMVM
* Stop-AzureRMVM
* Add-AzureAccount
* Get-AzureVM
* Start-AzureVM
* Stop-AzureVM

Lots of fun!

Рекомендации по теме
Комментарии
Автор

Great videos Shane! I hope they will be beneficial for when I start my networking job in a few weeks!

roycharman
Автор

Thank you sio much Shane, very useful for beginners.

ameyamagashe
Автор

So im new to all of this and trying to learn more; however, when i run get-azurermvm it returns nothing but says "No Tenant found in the context."
What can i do about this?

josiahsamsel
Автор

Thanks for the video, this got me started and up and running quickly. Quick question, when starting a load of VM's in a ResourceGroup, how do you prevent the command you used from not waiting on a response back. For example, I have x6 VM's in a Resource Group, to start them up it takes long pauses in-between each of the 6 VM's when the power on and report back that they have started, before moving on to the next one?

neilmcamks
Автор

Question. why does get-command does not return anything for azurerm?
PS C:\WINDOWS\system32> Get-Command -Module azurerm
PS C:\WINDOWS\system32>

Also, get-command-module azure gives me 655 commands whereas for you it is 708, is there I didn't execute correctlly?

ameyamagashe
Автор

Hey Shane, I can see you're using on prem, can you do the samething with Poweshell SPO?

Adventures
Автор

Hi Shane, Great Video. Thank you. (get-command -module azureRM).count returns 0, After installing it. Is it replaced by AZ?

daye
Автор

Hi Shane,

I got this feedback from system when entering Install-Module AzureRM
NuGet provider is required to continue
PowerShellGet requires NuGet provider version '2.8.5.201' or newer to interact with NuGet-based repositories. The NuGet provider must be available in 'C:\Program
or 'C:\U

daslyn
Автор

Hello, i am following along, however when i run the Install-Module azure -AllowClobber, i get the following error message: allow a parameter cannot be found that matches parameter name AllowClobber... any idea? maybe this video is out dated?

Steve-giyj
Автор

when do you use Add-AzureAccount and when login-Azurermaccount ?

flowww
Автор

Great teachings Shane! When I do my counts azure comes back with 655 however azurerm is 0. I'm on Win10 ps ver 5.1. Thoughts?

kevinchambers
Автор

Thank you Shane. When I run the command Login-AzureRM, it takes me the login screen, but return empty for account and subscription etc. Can you help me what may be the issue?

bvraravind
Автор

Hallo, i have a problem that the Rm Module is not recognised. i have tried many solution from youtube but it didn't work. do yo have any idea?

aihamabohameda
Автор

How to display all the branches of a particular resource group and switch between branches (by default it is master ) and display corresponding pipelines

dipeshshrestha
Автор

hi
Could you please suggest the command on how to configure CORS for web app in azure by powershell

dollydham
Автор

What would be the updated code for (get-command -Module azure).count ? Right now, it seems all the previous AzureRM commands have migrated to Az. I'm a newbie and not sure how to update the .count command...

Nilan
Автор

i get this error when i run the Login-AzureRMAccount command

Connect-AzureRmAccount: Could not load type from assembly 'System.Core, Version=4.0.0.0, Culture=neutral,

pls help out

olufemibakare
Автор

hey hi shane young, i have one doubt, please give me solution for that one.1 How can we install anti virus software in all virtual machines at a time.

marellasrinivasrao
Автор

Thanks for the vedio Shane! I use windows 10 and my PowerShell version is 5.1
Name Value
----
PSVersion 5.1.16299.98
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.16299.98
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

I tried installing AzureRM using "Install-Module AzureRM -verbose" command but i always face an error that says :

: Package 'AzureRM.profile' failed to be installed because: The process cannot access the file
because it is being used by another process.
At C:\Program char:21
+ ... $null = @PSBoundParameters
+
+ CategoryInfo : InvalidResult: (AzureRM.profile:String) [Install-Package], Exception
+ FullyQualifiedErrorId : Package '{0}' failed to be installed because: {1}, Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

I tried installing this way for last two days but still the issue dint get resolved. I feel glad if you can tell me something about this error.
Finally i tried installing it using WEBPI. This time i can see the list of AzureRM modules installed in
Directory: C:\Program Files (x86)\Microsoft However (get-command -Module AzureRM).count returns 0. If you can tell me the reason for this and help me fix it, That helps me a lot :)

Thanks in advance!

anushaande
Автор

Hello, my server does not have internet available, does it have any offline installer?

kagemaru