Skip to content

Commit 8d30ea3

Browse files
Larry Franksmikefrobbins
andauthored
Update articles/machine-learning/how-to-manage-workspace-powershell.md
Co-authored-by: Mike F. Robbins <[email protected]>
1 parent 1e34d41 commit 8d30ea3

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

articles/machine-learning/how-to-manage-workspace-powershell.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,19 @@ Use the following commands to create these resources and retrieve the Azure Reso
8383
8484
1. Create the Azure Storage Account:
8585
86-
```azurepowershell-interactive
87-
$Storage = 'MyStorage'
88-
New-AzStorageAccount -Name $Storage -ResourceGroupName $ResourceGroup -Location $Location `
89-
-SkuName Standard_LRS -Kind StorageV2
90-
$storeid = (Get-AzResource -Name $Storage -ResourceGroupName $ResourceGroup).ResourceId
91-
```
86+
```azurepowershell-interactive
87+
$Storage = 'MyStorage'
88+
89+
$storageParams = @{
90+
Name = $Storage
91+
ResourceGroupName = $ResourceGroup
92+
Location = $Location
93+
SkuName = 'Standard_LRS'
94+
Kind = 'StorageV2'
95+
}
96+
New-AzStorageAccount @storageParams
97+
98+
$storeid = (Get-AzResource -Name $Storage -ResourceGroupName $ResourceGroup).ResourceId
9299
93100
## Create a workspace
94101

0 commit comments

Comments
 (0)