Powershell Azure自动化需要很长时间才能将xml存储到runbook沙箱中

Powershell Azure自动化需要很长时间才能将xml存储到runbook沙箱中,powershell,blobstorage,azure-automation,Powershell,Blobstorage,Azure Automation,我有一本运行在Azure Automation上的PowerShell runbook。在某个部分,runbook从Azure Blob存储中检索XML文件。文件的平均大小约为6KB 在第一次运行期间,从Azure Blob存储中检索文件并将其存储在Azure Automation runbook沙箱中,大约需要一分钟的时间,该沙箱位于C:\temp 在后续运行中,将同一文件存储在同一位置最多需要12分钟 作用域位于问题区域的代码段: $ConnectionName = "Subscriptio

我有一本运行在Azure Automation上的PowerShell runbook。在某个部分,runbook从Azure Blob存储中检索XML文件。文件的平均大小约为6KB

在第一次运行期间,从Azure Blob存储中检索文件并将其存储在Azure Automation runbook沙箱中,大约需要一分钟的时间,该沙箱位于C:\temp

在后续运行中,将同一文件存储在同一位置最多需要12分钟

作用域位于问题区域的代码段:

$ConnectionName = "SubscriptionName"
$StorageAccountName = "StorageAccountName" 

Write-Output "Selecting subscription $ConnectionName"
$credential = Get-AutomationPSCredential -Name "CredentialName"
Add-AzureAccount -Credential $credential
Select-AzureSubscription -SubscriptionName $ConnectionName
Set-AzureSubscription -SubscriptionName $ConnectionName -CurrentStorageAccount $StorageAccountName 
Write-Output "Selected subscription $ConnectionName"

Write-Output "Retrieving XML from storage"
Get-AzureStorageBlobContent -Blob "FileName.xml" -Container "ContainerName" -Destination "C:\temp\" -Force
Write-Output "Retrieved XML from storage" 
有人知道我做错了什么吗