Describe azure compute and networking services

ChiefyS 20 Reputation points
2024-11-13T18:32:07.4633333+00:00

Not able to complete unite 9 step 2

IPADDRESS=$(az vm list-ip-addresses --resource-group "learn-4f0709ba-e13a-44df-8b6b-d9dd55a8105a" --name my-vm --query "[].virtualMachine.network.publicIpAddresses[].ipAddress" --output tsv): The term 'IPADDRESS=$(az vm list-ip-addresses --resource-group "learn-4f0709ba-e13a-44df-8b6b-d9dd55a8105a" --name my-vm --query "[].virtualMachine.network.publicIpAddresses[].ipAddress" --output tsv)' is not recognized as a name of a cmdlet, function, script file, or executable program.

Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
1,805 questions
0 comments No comments
{count} votes

Accepted answer
  1. Harshitha Jannapu 530 Reputation points Microsoft Vendor
    2024-11-14T11:03:32.2766667+00:00

    Hi ChiefyS,
    Thank you for reaching out to us on the Microsoft Q&A forum.

    The screenshots you provided indicate that you are in PowerShell, as shown in the screenshot below.
    User's image Important Note: Make sure to switch to Bash by clicking on "Switch to Bash."

    After switching to Bash, you should see the interface as shown in the screenshot below. It’s mandatory to execute commands in Bash to successfully complete the exercise.
    User's image 1.Complete Unit 3 First: To proceed with the exercise in Unit 9, it's mandatory to first complete the exercise in Unit 3, as both units are interconnected.
    2.Time Limitation: Please ensure both exercises are completed within one hour to avoid sandbox expiration, which is essential for completing the tasks successfully.
    3. After completing Task 3, restart the Cloud Shell before beginning Task 9. This will help prevent certain errors from occurring.

    If you have any further questions or need additional assistance, please feel free to reach out. We're here to help!

    If you have found the answer provided to be helpful, please click on the "Accept answer/Upvote" button so that it is useful for other members in the Microsoft Q&A community.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.