Database Reference
In-Depth Information
Figure 5-6. Windows PowerShell ISE
The entire script can be saved as a PowerShell script file (.ps1) for later execution. Listing 5-14 shows the
complete script.
Listing 5-14. PowerShell job submission script
$subscription = "Your_Subscription_Name"
$cluster = "democluster"
$storageAccountName = "democluster"
$Container = "democlustercontainer"
$storageAccountKey = Get-AzureStorageKey $storageAccountName | %{ $_.Primary }
$storageContext = New-AzureStorageContext -StorageAccountName $storageAccountName
-StorageAccountKey $storageAccountKey
 
Search WWH ::




Custom Search