Azure CLI Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ต.ค. 2024

ความคิดเห็น • 123

  • @omaradam7018
    @omaradam7018 3 ปีที่แล้ว +10

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

  • @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! 👏

  • @mukeshinintel
    @mukeshinintel 4 ปีที่แล้ว +5

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

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว

      Thanks. Glad you found it helpful. :)

  • @datalearningsihan
    @datalearningsihan 5 หลายเดือนก่อน

    I think this guy makes the best azure videos

  • @suryanshtk8623
    @suryanshtk8623 4 ปีที่แล้ว +1

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

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว

      Much appreciated! Glad you think so :)

  • @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!

  • @luisperez1007
    @luisperez1007 3 หลายเดือนก่อน

    creating a resource group using Gui is beautiful and pleasing.

  • @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!

  • @abulaith4485
    @abulaith4485 4 ปีที่แล้ว +1

    This was an excellent demo on azure CLI. Thanks

  • @khanjazzy
    @khanjazzy 4 ปีที่แล้ว +1

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

  • @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 😀

  • @ramasamynp8175
    @ramasamynp8175 4 ปีที่แล้ว +1

    Nice explanation. I am expecting more videos like this.

  • @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

  • @aarondarius2060
    @aarondarius2060 4 ปีที่แล้ว +1

    Much helpful. Also Please make a session on powershell

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +1

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

  • @Hellbending
    @Hellbending 9 หลายเดือนก่อน

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

  • @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.

  • @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..

  • @mihai_chindris
    @mihai_chindris 2 ปีที่แล้ว

    very helpful man, thanks a lot for the vid!

  • @abhiramikaushikaaduru2084
    @abhiramikaushikaaduru2084 3 ปีที่แล้ว +2

    very nice and to the point

  • @mehtasab
    @mehtasab 2 ปีที่แล้ว +1

    Very well explained!!

  • @balanm8570
    @balanm8570 4 ปีที่แล้ว +1

    Very good session and much useful ...

  • @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 :)

  • @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.

  • @marlonholland955
    @marlonholland955 4 ปีที่แล้ว +1

    You derserve more subscribers

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว

      Thank you kindly! I appreciate that :)

  • @jashkothari6405
    @jashkothari6405 4 ปีที่แล้ว +1

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

  • @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?

  • @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.

  • @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

  • @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! :-)

  • @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?

  • @burattinodilegno
    @burattinodilegno 4 ปีที่แล้ว +2

    Well done! Nice tutorial!

  • @hsfi7408
    @hsfi7408 3 ปีที่แล้ว +2

    Great Video! Thanks!!!!

  • @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.

  • @NattyWerewolf
    @NattyWerewolf 4 ปีที่แล้ว +4

    Legend. Subscribed

  • @mihaneman3129
    @mihaneman3129 ปีที่แล้ว

    Thank you Adam ,thank you sooooooooooo much

  • @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

  • @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.

  • @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 TH-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 !

  • @zariarogers2846
    @zariarogers2846 4 ปีที่แล้ว +1

    Nice video. Thank you!

  • @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

  • @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

  • @amritarora8897
    @amritarora8897 4 ปีที่แล้ว +1

    I really Love you man !

  • @harshbarnwal2724
    @harshbarnwal2724 3 ปีที่แล้ว +1

    Can we use powershell for these commands ?

    • @AdamMarczakYT
      @AdamMarczakYT  3 ปีที่แล้ว

      Why not use Azure PowerShell then?

  • @yuliyacher67
    @yuliyacher67 3 ปีที่แล้ว +2

    Thank you!

  • @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.

  • @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.

  • @gurugamer8632
    @gurugamer8632 ปีที่แล้ว

    Please
    Do videos for az 104
    Full course

  • @shamvilkazmi3447
    @shamvilkazmi3447 3 ปีที่แล้ว +1

    why can't anyone start with installing this azurecli

  • @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 th-cam.com/video/If4g2vVaiYk/w-d-xo.html

    • @datadefenderssa8295
      @datadefenderssa8295 4 ปีที่แล้ว +2

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

  • @ardataengineering6521
    @ardataengineering6521 ปีที่แล้ว

    Thank you! 🔥

  • @aniketsamant455
    @aniketsamant455 4 ปีที่แล้ว +1

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

    • @AdamMarczakYT
      @AdamMarczakYT  4 ปีที่แล้ว +1

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

  • @JamesBasso-t2m
    @JamesBasso-t2m ปีที่แล้ว

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

  • @azharkhuwaja9949
    @azharkhuwaja9949 4 ปีที่แล้ว +1

    Excellent

  • @SameeraSenarathna
    @SameeraSenarathna 3 ปีที่แล้ว +2

    Good One :-)

  • @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.

  • @ajayKumar-li9ep
    @ajayKumar-li9ep 4 ปีที่แล้ว +3

    Good

  • @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 4 ปีที่แล้ว +2

    Good