Skip to content
All gists
Back to GitHub
Sign in
Sign up
Sign in
Sign up
{{ message }}
Instantly share code, notes, and snippets.
Data Minister
PaulGentle-DataMinister
1
follower
·
1
following
Data Minister
Bristol, UK
http://dataminister.com
View GitHub Profile
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
All gists
1
Sort:
Recently created
Sort options
Recently created
Least recently created
Recently updated
Least recently updated
1 file
0 forks
0 comments
0 stars
PaulGentle-DataMinister
/
Create Azure File Share and Map as Drive - Powershell.ps1
Created
Jan 8, 2019
Create an Azure File Share and Map as Drive on Remote Server - PowerShell
View
Create Azure File Share and Map as Drive - Powershell.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
#
# Connect to your Azure account in PowerShell
Connect-AzAccount
#
# Set the variables below to the names, sizes, locations, etc that you want to use
$ResourceGroupName
=
"
EnterResourceGroupName
"
$StorageAccountName
=
"
EnterStorageAccountName
"
$FileShareName
=
"
EnterFileShareName
"
$FileShareSizeMB
=
1024
$Location
=
"
UK West
"
$SkuName
=
"
Standard_LRS
"
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.