Virtual Machines

Abhay Chandramouli 1,026 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,992 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,551 questions
0 comments No comments
{count} votes

Accepted answer
  1. Alan Kinane 16,906 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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.