
Did you know you can create a fileshare for any type of use in Azure? If not I’ll guide you through creating it!
Begin by setting the context for the subscription
#get subscriptionID
$SubscriptionID = Get-AzureRMSubscription
| Where-Object Name -like '*mysubscription*'
#set context
Set-AzureRmContext
-SubscriptionID $SubscriptionID
Next create the variables for the resource group
#resource group variables
$resourceGroupName = 'Lab-filecopy-rg'
$location = 'westeurope'
Now go ahead and create the resource group
#create the resource group
new-azresourcegroup -name $resourceGroupName
-location $location
Now prepare variables for the storage account
#variable
$storageAccountName = 'uniquenamefcrstorageaccount'
Finally create the storage account

#Create Storage Account
New-AzureRmStorageAccount
–ResourceGroupName $resourceGroupName
-AccountName $storageAccountName
–Location $location
-SkuName 'Standard_LRS'
-Kind 'StorageV2'
Now the Storage account is in place.
Next we’ll create a fileshare and a sas token.