I'm needing to upload files to a folder within a blob container (BlobContainer\Files\ where BlobContainer is the container name and Files is the folder within the container), but when I pass that into the -Container parameter, it fails because it can't find that blob container. Is there a way to specify a specific folder within a blob container when uploading a file using the Set-AzureStorageBlobContent or if not, an alternate route to do this?
The below is the snippet of what I'm calling after logging in:
$storageacct = New-AzureStorageContext -ConnectionString "CONNECTIONSTRING"
Set-AzureStorageBlobContent -File "E:\Files\file.txt" -Container "BlobContainer" -Context $storageacct