Execute script on Azure VM, without logging in

Igor Kostadinov 41 Reputation points
2023-01-03T11:11:55.66+00:00

I need to execute Script but I should not log in to the VM because of security things and data .. but if it’s possible they told me I can execute the script.. The script is simple to transfer the DB from partition H: to partition F: … I am new in Azure I know is somehow possible this but I can’t find it…

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

Answer accepted by question author
  1. Martin Dimovski 1,636 Reputation points
    2023-01-03T11:22:25.97+00:00

    Hi,

    Thank you for posting the question to the Q&A forum.

    Please check the below link: https://learn.microsoft.com/en-us/azure/virtual-machines/windows/run-command I think this is what you're looking for.

    Also depends on the VM if it's Windows or Linux

    I hope the above information can help you.

    If the ANSWER is helpful, please click "Accept Answer" and upvote it. Thanks

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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