samba-azure/createshare-ps.ps1
raw link view readme1 | $location = 'You surely know it.' |
2 | $resourceGroup = 'You remember it?' |
3 | $storageAccountName = "Go look." |
4 | |
5 | $keyData = Get-AzureRmStorageAccountKey -ResourceGroupName $resourceGroup -Name $storageAccountName |
6 | $context = New-AzureStorageContext $storageAccountName -StorageAccountKey $keyData[0].Value |
7 | New-AzureStorageShare elephant -Context $context |
8 | |
9 | |
10 | |
11 | |
12 |