Good morning,
I am trying to load a file to my azure storage. I have created 2 directories (folders) inside my container, and I want to load the file to the specific folder, but I cannot seem to find how to point it there.
$containerName = “mycontainer”
$localDirectory = “C:\PowerShell\files\20CA_New.csv”
Get-AzStorageBlob -Container $containerName -Context $storageContext |select name
Get-ChildItem -File $localDirectory | Set-AzStorageBlobContent -Container $containerName -context $storageContext
it does work if I want to load it directly to my container, but not to the specific folder
thanks