3
$StorageContext = New-AzureStorageContext -StorageAccountName 'myblobname' -StorageAccountKey '2341231234asdff2352354345=='
$Container = Get-AzureStorageContainer -Name 'mycontainer' -Context $StorageContext
$blobs = Get-AzureStorageBlob -Container $Container
Error:
Get-AzureStorageBlob : Could not get the storage context. Please pass in a storage context or set the current storage context.
I 오전 자격 증명을 무작위 (올바른지 100 % 확인 이 게시물의 자격증 명 데이터 단축)
왜이 오류가 발생합니까?
AzureRM이 사용됩니까? AzureRM 버전은 3.8.0으로 표시됩니다. 이 스크립트가 작동하려면 어떤 버전의 스크립트가 필요합니까?
을에 "아치"초보자로서 ... 나는 또한 더 조금 알 필요가 그리고 마지막으로 그것을 알아 냈습니다 : $ StorageContext = New-AzureStorageContext -StorageAccountName "계정 이름"-StorageAccountKey = "Key1 또는 Key2" 물론 -Context $ StorageContext는 i로 배치됩니다. n 위의 cmdlet. – user1585204