Configuration Sample
{
param ($MachineName,$pfUserName,$pfPassword,$storageAccountName,$storageAccountKey)
Import-DSCResource -ModuleName xAzureFileStorage
Node $MachineName {
xAzureStorageInstaller CreateShare
{
shareName="artbrut"
storageName=$storageAccountName
storageKey=$storageAccountKey
}
XDriveMapper MapDrive
{
shareName="artBrut"
storageName=$storageAccountName
storageKey=$storageAccountKey
DriveLetter="z:"
DependsOn = "[xAzureStorageInstaller]CreateShare"
}
}
}