I am new to powershell. Writting code in azure cloud shell. I want to add files in Azure cloud shell $HOME directory from blob storage. How I can achieve this task?
Really appreciated for help.
To get script to add files into $home directory from azure blob storage in cloud shell
Later Tried azcopy command but getting error as: enter image description here
Code what I tried enter image description here
To get the files from Azure blob storage to the $home directory, you can use the Azcopy tool.
In my environment, Azure blob storage has five files as like below:
Command:
You can use the below command to get the multiple files to your home directory.
Output:
Once you execute the above command, you can see the files in your home directory like below:
Reference:
azcopy copy | Microsoft Learn