question

mimckitt avatar image
0 Votes"
mimckitt asked HananAliIbrahemRoffa-1166 Suspended answered

Trending on MSDN: Update-AzVM command is slow

Anyone know why the Update-AzVM command is slow from a PowerShell session running on a remote computer?


Sourced from MSDN



azure-virtual-machines
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

olufemiaMSFT avatar image
0 Votes"
olufemiaMSFT answered mimckitt edited

Welcome to the Microsoft Q&A (Preview) platform. Happy to answer your question.

That sounds like a standard response time based on my experiences. The update-azVM command reaches out to the API and puts in the request and waits for the server to respond. So, it's not really about your internet connection but more of when the Azure fabric sends a response back once it confirm the VM has been updated.


Running via Azure Cloud Shell will decrease the time it takes to get a response as you found. This is because that PowerShell instance is also hosted on Azure.


Otherwise, it sounds normal when running commands on a local machine. No way to speed it up from you end.

Sourced from MSDN


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

iamaashishpatel avatar image
0 Votes"
iamaashishpatel answered

No way to speed it up from your end.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AHMED-BAKIR avatar image
7 Votes"
AHMED-BAKIR Suspended answered 50609367 Suspended commented

That sounds like a standard response time based on my experiences. The update-azVM command reaches out to the API and puts in the request and waits for the server to respond. So, it's not really about your internet connection but more of when the Azure fabric sends a response back once it confirm the VM has been updated.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

HananAliIbrahemRoffa-1166 avatar image
0 Votes"
HananAliIbrahemRoffa-1166 Suspended answered

That sounds like a standard response time based on my experiences. The update-azVM command reaches out to the API and puts in the request and waits for the server to respond. So, it's not really about your internet connection but more of when the Azure fabric sends a response back once it confirm the VM has been updated.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.