AZ-900Hands-on lab40 min
Foundation lab: From typing commands to writing small scripts
لاب الأساسيات: من كتابة أمر لكتابة Script صغير
Clicking in the portal is fine for one resource; for twenty it is slow and error-prone. In this lab you open Cloud Shell and learn the habits of a scripting administrator: check where you are, format output, use variables and loops in Bash, filter results with --query (JMESPath), do the same job in PowerShell with objects and the pipeline, and clean up with one command.
The 5 tasks you will do
- Task 1 — Know where you areالمهمة 1 — اعرف إنت فين
- Task 2 — Variables and a loop in Bashالمهمة 2 — Variables و Loop في الـ Bash
- Task 3 — Ask precise questions with --queryالمهمة 3 — اسأل أسئلة دقيقة بـ --query
- Task 4 — The same job in PowerShellالمهمة 4 — نفس الشغلانة بالـ PowerShell
- Task 5 — Clean up with a scriptالمهمة 5 — نضّف بـ Script