Trending on MSDN: Update-AzVM command is slow

Micah McKittrick 946 Reputation points Microsoft Employee
2019-10-29T19:56:05.12+00:00

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

Sourced from MSDN

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
6,981 questions
0 comments No comments
{count} votes

Accepted answer
  1. olufemia-MSFT 2,861 Reputation points
    2019-10-29T20:35:50.697+00:00

    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

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. AHMED ISMAIL GOMAA BAKIR 906 Reputation points
    2022-05-05T22:04:25.617+00:00

    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.

    7 people found this answer helpful.
    0 comments No comments

  2. Ashish Patel 1 Reputation point
    2019-10-31T08:45:39.08+00:00

    No way to speed it up from your end.

    0 comments No comments

  3. Hanan Ali Ibrahem Roffa 81 Reputation points
    2022-05-06T03:12:40.88+00:00

    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.

    0 comments No comments