Azure CLI Tutorial

Поділитися
Вставка
  • Опубліковано 1 лис 2024

КОМЕНТАРІ • 121

  • @omaradam7018
    @omaradam7018 3 роки тому +10

    This is absolutely all you need to learn CLI. Thank you Adam

  • @mukeshinintel
    @mukeshinintel 5 років тому +5

    Good session .. I'm using cli for quite sometime .. never heard of interactive mode .. really helpful material ..

    • @AdamMarczakYT
      @AdamMarczakYT  5 років тому

      Thanks. Glad you found it helpful. :)

  • @chairjacker
    @chairjacker Місяць тому

    I was very impresed with the ease of understandability of ths tutorial/demo. Good flow in logic for teaching a noob and enjoyable to follow.

  • @AmitKumar-es5ns
    @AmitKumar-es5ns 3 роки тому +3

    Excellent explanation, never seen before in such a simple and concise manner. Thanks a lot SIR! 👏

  • @legotheman
    @legotheman 4 роки тому +1

    Great tutorial! I learnt a lot and your explanations/comments were great. Ubuntu is a Zulu word and your pronunciation was on point! Well done.

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Haha! I didn't know that, awesome :) Thanks!

  • @suryanshtk8623
    @suryanshtk8623 4 роки тому +1

    Excellent tutorial, clearly explained. This channel needs to get more subscribers!!

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Much appreciated! Glad you think so :)

  • @luisperez1007
    @luisperez1007 4 місяці тому

    creating a resource group using Gui is beautiful and pleasing.

  • @ttt-trondheimtamilsketeate7681
    @ttt-trondheimtamilsketeate7681 4 роки тому +3

    Hi Adam!
    Actually i found your tutorial accidentally. But its amazing man! Thank you!

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Happy to hear that! Thanks for stopping by 😀

  • @Hellbending
    @Hellbending 9 місяців тому

    Your English is very good if is not native tongue. Helpful - The second ‘a’ in array is really important. Ah-rAy ❤❤

  • @datalearningsihan
    @datalearningsihan 6 місяців тому

    I think this guy makes the best azure videos

  • @TheMLaskowsky
    @TheMLaskowsky 4 роки тому +2

    Dzieki Adam, interaktywny tryb jest mega na poczatek !

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +2

      Super! Tez lubie wiec pokazuje na lewo i prawo bo idealny do nauki tez jest. Dzieki!

  • @khanjazzy
    @khanjazzy 4 роки тому +1

    Thanks Adam.. you have given so many small small tips.. thanks.

  • @abulaith4485
    @abulaith4485 4 роки тому +1

    This was an excellent demo on azure CLI. Thanks

  • @ipkyoudaily
    @ipkyoudaily 2 роки тому +1

    Great Video - would've been nice to mention you need to manually install Microsoft Azure CLI onto your system before the Azure CLU commands work. Would've taken you 30 secs to mention, and saved me 30 mins troubleshooting,,

    • @toby9999
      @toby9999 2 роки тому

      Only 30mins? I've been trawling the internet for two days trying to figure this out. Yes, if people who demo this stuff would mention where they get CLI from, it would be a huge time saver. It never occurred to me that I would have to install Microsoft Azure on to my system. I thought it was all online.

  • @ramasamynp8175
    @ramasamynp8175 4 роки тому +1

    Nice explanation. I am expecting more videos like this.

  • @aarondarius2060
    @aarondarius2060 5 років тому +1

    Much helpful. Also Please make a session on powershell

    • @AdamMarczakYT
      @AdamMarczakYT  5 років тому +1

      Thanks Aaron. It will be most likely Azure Synapse Analytics or PowerShell next week, stay tuned :)

  • @mehtasab
    @mehtasab 2 роки тому +1

    Very well explained!!

  • @phahok
    @phahok 3 роки тому +1

    Hi Adam. Great Content! What are the example commands for creating, viewing, and deleting work items on Azure Board? Have this example using curl? thanks

  • @abhiramikaushikaaduru2084
    @abhiramikaushikaaduru2084 3 роки тому +2

    very nice and to the point

  • @balanm8570
    @balanm8570 5 років тому +1

    Very good session and much useful ...

  • @burattinodilegno
    @burattinodilegno 4 роки тому +2

    Well done! Nice tutorial!

  • @hsfi7408
    @hsfi7408 3 роки тому +2

    Great Video! Thanks!!!!

  • @deepalmoon
    @deepalmoon 4 роки тому +2

    Thanks Adam! You are a good teacher.
    I have a question: What is a RI? (6.54min into video).

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +1

      haha, It's not RI, it's ARRAY 😂😁 Those two are pronounced the same :) Thanks for watching and commenting :)

  • @NattyWerewolf
    @NattyWerewolf 4 роки тому +4

    Legend. Subscribed

  • @mihai_chindris
    @mihai_chindris 2 роки тому

    very helpful man, thanks a lot for the vid!

  • @jashkothari6405
    @jashkothari6405 4 роки тому +1

    Thank you bro your video helped me in creating a vm in azure terminal

  • @ajithkumar02
    @ajithkumar02 4 роки тому +1

    Really helpful Thank you for this video

  • @y2kenh
    @y2kenh 4 роки тому +2

    Fantastic video! This way looks so much faster than the Portal's web pages if you know what you're doing. Thanks to you, I'm learning more. Sone things I'm unsure of is if you can specify the cpu size easily, like Standard_B1s or NC24s_v2, or does doing that require more things to write? Same with making a Spot VM. Can I add just --priority Spot? Or is there more I have to include? Thank you so much!

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +1

      Thank you kindly! Instance size is enough for most machines, but I would always check the docs as the technology and tools change when new options appear.
      For example, go to docs.microsoft.com/en-us/cli/azure/vm?view=azure-cli-latest#az-vm-create and ctrl+f for spot, you will see some extra options you can configure. If not then they will take default values.

  • @pazpazim
    @pazpazim 3 роки тому +1

    Hi Adam.
    Great stuff.
    Are you going to release a AZ-104 preparation videos/course?

    • @AdamMarczakYT
      @AdamMarczakYT  3 роки тому

      Thanks :) Not sure yet on az-104, but stay tuned :)

    • @vamsikrishna-un5tr
      @vamsikrishna-un5tr 2 роки тому

      Hii I completed modules in ms learn but in self learning page it shows in progress only, could u please tell what can I do

  • @puneboy123
    @puneboy123 4 роки тому +2

    Hi I am new to cli have a task have to generate and store key1 (after creating storage account through cloud shell in a variable for future use can you list the commands please

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +2

      Check this out docs.microsoft.com/en-us/cli/azure/storage/account/keys?view=azure-cli-latest#az-storage-account-keys-renew and then use docs.microsoft.com/en-us/cli/azure/storage/account/keys?view=azure-cli-latest#az-storage-account-keys-list with --query "[?keyName=='key1'].value" --output tsv parameters

  • @udayredsun855
    @udayredsun855 4 роки тому +1

    Good video Brother, thanks for sharing it.

  • @andriispivak8237
    @andriispivak8237 3 роки тому +1

    Fist of all : thank you so much about your course, it really highly useful. And one question: how long is azure cli session active, before you should need to re-login again ?

    • @andriispivak8237
      @andriispivak8237 3 роки тому

      and one more thing: may be you need little bit better theme in your terminal :) (because dark blue and black in one place are not really readable) imgur.com/9mzAT3b

    • @AdamMarczakYT
      @AdamMarczakYT  3 роки тому +1

      I often try to use tools that look familiar to people that's why. I use different color themes myself too. But I agree default windows terminal color scheme is terrible for CLI JSONC formatting.

    • @andriispivak8237
      @andriispivak8237 3 роки тому

      @@AdamMarczakYT and what about question : how long is azure cli session active, before you should need to re-login again ?

    • @andriispivak8237
      @andriispivak8237 3 роки тому

      ​@@AdamMarczakYT also, about theme case : may be the good idea to use some "theme switcher" for night/day theme on your web-site

  • @yanivshalomhelp3579
    @yanivshalomhelp3579 4 роки тому +2

    Dear Amazing Adam.
    Can I run powershell scripts from Azure cli that install in ubonto?

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +2

      Yes! Check out my cloud shell tutorial, it's an ubuntu container for free with Azure CLI and PowerShell

    • @yanivshalomhelp3579
      @yanivshalomhelp3579 4 роки тому +1

      @@AdamMarczakYT many thanks adam.
      Let me clarify my question.as I watch your cloud shell tutorial i understood the the cli work from a linux container that is created withing my azure storage a account.
      Is the a way to me to run ps1 commands from my laptop which has an linux os install on it ?
      Again many thanks for your Amazing UA-cam videos

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +2

      Yea, just install Azure CLI and/or PowerShell Core and Modules
      docs.microsoft.com/en-us/cli/azure/install-azure-cli?WT.mc_id=AZ-MVP-5003556
      docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-5.0.0&WT.mc_id=AZ-MVP-5003556

    • @yanivshalomhelp3579
      @yanivshalomhelp3579 4 роки тому

      @@AdamMarczakYT Million thanks !

  • @DeepakRohra
    @DeepakRohra 4 роки тому +1

    Hi Adam, Thanks for providing such a great session :) , just had a question can we create a script using Azure CLI commands and then execute that script via powershell ?

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Hey, thanks for watching and commenting. The answer would be yes you can, you could potentially even mix them in one script,. Although not recommended to mix them because it's harder to read the code and harder to maintain it.

  • @zariarogers2846
    @zariarogers2846 4 роки тому +1

    Nice video. Thank you!

  • @amritarora8897
    @amritarora8897 4 роки тому +1

    I really Love you man !

  • @mihaneman3129
    @mihaneman3129 Рік тому

    Thank you Adam ,thank you sooooooooooo much

  • @supriyakolate2575
    @supriyakolate2575 3 роки тому +2

    Hi Adam, can we run powershell script from azure CLI?

    • @AdamMarczakYT
      @AdamMarczakYT  3 роки тому +1

      You can, both can are command line tools, although it's not recommended to mix as it makes things hard to maintain.

    • @supriyakolate2575
      @supriyakolate2575 3 роки тому

      @@AdamMarczakYT is there any restriction on Linux VM to run PS script on azure CLI?

  • @Dany-rh5ur
    @Dany-rh5ur 4 роки тому +1

    Hi Adam
    What command would you use to create a MS teams channel and a contact person using azure cli? :)

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Azure CLI is to manage Azure not Microsoft Teams so it doesn't have commands for teams. But it's possible using AZ REST (http requests) command with graph api docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0

    • @Dany-rh5ur
      @Dany-rh5ur 4 роки тому

      @@AdamMarczakYT Great thank you I will try it out! :-)

  • @yuliyacher67
    @yuliyacher67 3 роки тому +2

    Thank you!

  • @bhagidasari9051
    @bhagidasari9051 3 роки тому +1

    While I am trying "az login"in windows command prompt. I got this below error
    az login
    'az' is not recognized as an internal or external command, operable program or batch file.
    Can you help me in this?

  • @pamulaavinash7829
    @pamulaavinash7829 4 роки тому +2

    Hello Adam i have two doubts
    1.is azure CLI is just creating azure resources in command line by writing acronym with azure name right
    2. Is azure CLI is used to create commands and objects..

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +1

      Type in "az --help" to learn which services are supported. For the second question. CLI is just SDK with commands written in Python. if you need to write code and create scripts either use Linux Bash or Python or PowerShell. CLI is just a tool, not a scripting language.

    • @pamulaavinash7829
      @pamulaavinash7829 4 роки тому

      @@AdamMarczakYT thanks adam for explanation and making me understand..

  • @competitionguide4allexam384
    @competitionguide4allexam384 4 роки тому +2

    Can you tell me the command related manage the azure table like create entity add, remove, delete, add some datasets in table. Thankx

    • @competitionguide4allexam384
      @competitionguide4allexam384 4 роки тому

      using azure cli plz

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Please remember that Microsoft has very good documentation. If you search in google the first link will return this result showing examples of what you asked docs.microsoft.com/en-us/cli/azure/storage/entity?view=azure-cli-latest

  • @vimalraju4688
    @vimalraju4688 2 роки тому +1

    how to
    > list of multifactor disabled AD accounts
    > list of all storage accounts and access details
    > list of app registrations and their current state
    > list of vnets, IP ranges, VMs
    > list of resigned users with active accounts
    > list of admin users
    > all role assignments
    >resource usage and identify unused resourcesEdited

  • @SameeraSenarathna
    @SameeraSenarathna 3 роки тому +2

    Good One :-)

  • @aniketsamant455
    @aniketsamant455 5 років тому +1

    Nice video.. can you please make video on AAD and datalake store gen2

    • @AdamMarczakYT
      @AdamMarczakYT  5 років тому +1

      Thank you. AAD and ADLSv2 are definitely on the list. There will be another one on Azure identity in general too. :)

  • @azharkhuwaja9949
    @azharkhuwaja9949 4 роки тому +1

    Excellent

  • @sivaramagupta
    @sivaramagupta 3 роки тому +1

    i have created the VM as a demo by you, however when i try to login in i am getting timed out , any suggestion..!!

    • @AdamMarczakYT
      @AdamMarczakYT  3 роки тому +2

      Not sure, try again or check if your firewall or router or ISP maybe block SSH ports.

  • @ardataengineering6521
    @ardataengineering6521 Рік тому

    Thank you! 🔥

  • @ranasanyal2317
    @ranasanyal2317 4 роки тому +1

    Hi I am new and learning cli I have been given a task of getting the keys for storage selecting the first key and storing it in a variable for future use I am stuck here I get the keys but how do i store KEY1 in a variable for future use?

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      Hey, this depends on the shell you are using, whenever this is windows batch or linux bash. But in general use --query parameter in CLI to get only values from response you need. This js JMESPath format which you can check more about in here: jmespath.org/tutorial.html

    • @ranasanyal2317
      @ranasanyal2317 4 роки тому +1

      @@AdamMarczakYT Hi was able to isolate the output using
      az storage account keys list -n sanyal --query "[?keyName=='key1'].value" --output tsv however when i try to store this value in a variable called key1 using key1="$( az storage account keys list -n sanyal --query "[?keyName=='key1'].value" --output tsv)I just get >> continuously..

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +3

      Rana you have a typo in your code. key1=" the " should not be there.
      Please note that I don't don't have capacity to help with coding exercises normally, I can point you in the right direction though. Hope this helps.

  • @shamvilkazmi3447
    @shamvilkazmi3447 3 роки тому +1

    why can't anyone start with installing this azurecli

  • @harshbarnwal2724
    @harshbarnwal2724 3 роки тому +1

    Can we use powershell for these commands ?

  • @gurugamer8632
    @gurugamer8632 Рік тому

    Please
    Do videos for az 104
    Full course

  • @ajayKumar-li9ep
    @ajayKumar-li9ep 4 роки тому +3

    Good

  • @ashishjadhav4067
    @ashishjadhav4067 4 роки тому +2

    How to login to azure non-interactively using Azure Cli?

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому +2

      Please check the docs for more azure login examples. docs.microsoft.com/en-us/cli/azure/authenticate-azure-cli?view=azure-cli-latest for automation service principal approach is recommended.

  • @datadefenderssa8295
    @datadefenderssa8295 4 роки тому +1

    how to change my CMD settings from eg dir to ls or from azure to az ?

    • @AdamMarczakYT
      @AdamMarczakYT  4 роки тому

      try azure could shell if you don't have WSL (windows subsystem for linux) or don't want to install az modules ua-cam.com/video/If4g2vVaiYk/v-deo.html

    • @datadefenderssa8295
      @datadefenderssa8295 4 роки тому +2

      @@AdamMarczakYT Thanks man I got the problem my msi was an old version so i updated it

  • @JamesBasso-t2m
    @JamesBasso-t2m Рік тому

    How do you skip the step where you install Azure CLI on the OS? lol

  • @akilanr8888
    @akilanr8888 3 роки тому +1

    how to downgrade the cli version?

    • @AdamMarczakYT
      @AdamMarczakYT  3 роки тому +1

      Why would you want to downgrade it? Everything should work in the latest version and Microsoft always recommends using the latest because latest is always available in tools like Azure DevOps and Azure Cloud Shell. So you should use latest for compatibility reasons.

  • @bluegables
    @bluegables 3 роки тому

    Like your videos. Not sure if you are still working on this. I just started with Azure automation, would like to see a video about Azure Python SDK. A lot of samples are not working properly, not sure why: docs.microsoft.com/en-us/azure/developer/python/azure-sdk-overview

  • @makeurmoneyeasy
    @makeurmoneyeasy 3 роки тому +2

    Hi Adam,
    A Very good tutorial on Azure CLI, as well as on any other topic actually =)
    I'm trying to create a script to Create VM and login to it from CMD, for that I need to pass IP as a variable to mstsc command. How can I create and use variables in the Azure CLI environment?
    Thanks a lot!

  • @jayakrishna9153
    @jayakrishna9153 5 років тому +2

    Good