Virtual Machines

Abhay Chandramouli 991 Reputation points
2022-07-07T11:49:43+00:00

I want to run a powershell script on a azure vm.
That powershell script may take 1-2 days to complete.

Is it possible to achieve this ?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,462 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alan Kinane 16,811 Reputation points MVP
    2022-07-07T15:17:28.167+00:00

    As long as the VM stays allocated and you don't log out of your remote session (you can disconnect, just don't sign out) then it should keep running just fine.

    0 comments No comments

0 additional answers

Sort by: Most helpful