How to access lab server as root to run powershell like infra.ps1 so it will setup all the infra

i am trying to access these server where i can run the PowerShell script and where these script reside in server there is no details mention to how access these script and run.

Which servers are you talking about? Our labs don’t generally support Powershell; and in Azure, it depends how you configure things.

Hi

lab name: Lab: Session Persistence
instruction : We have created a script that sets up the infrastructure for you. Please navigate to the /root directory and run the script named infra.sh . Wait for a while until the script completes the infrastructure setup. my question: how i will navigate to this /root directory and get my hand on infra.sh .

Not clear which course this lab is in. A full link to the lab is very helpful so I can find your lab.

Use the link for the course lab : az-104 - Lab: Session Persistence

https://learn.kodekloud.com/user/courses/az-104-microsoft-azure-administrator/module/50248c52-4b17-4c2d-87f8-52a42eff2d2f/lesson/2fc7374a-2d09-4449-91cd-9ab8d83aea60

I am also pointing some other point where the lectures mention something and demonstrate but never shared the path of link .

In the AZ-104 course, under the lesson “Securing App Service”, the instructor refers to some code that is opened in Visual Studio. However, there is no link or download provided for that code in the lesson or on the platform.
And die to which the flow for learning is breaking.

That same source code is also used later in the CI/CD - az104 demo, so it’s hard to follow along without it.

Here is the link to the lesson:
https://learn.kodekloud.com/user/courses/az-104-microsoft-azure-administrator/module/c1871647-c1ec-478a-beab-b21781cec58f/lesson/5c87991c-d266-4f47-874a-8f455779ddf7

I think I understand your problem – when the lab starts, you have to open up the terminal pane, which is closed by default. There’s a button in the upper right which will open up the terminal:

The script is just in the root directory that this exposes:

~ ➜  ls
infra.sh

~ ➜