How do I create a custom PowerShell script to automate a repetitive task in Windows Server?

priya sharma 1 Reputation point
2023-04-19T06:17:31.5933333+00:00

Recently, I completed Azure administrator online training, and I have a question. How can I use the knowledge gained from this training to create a custom PowerShell script to automate a repetitive task in Windows Server?

Windows for business Windows Server User experience PowerShell
Windows for business Windows Server User experience Other
{count} votes

1 answer

Sort by: Most helpful
  1. Jack Byrne 5 Reputation points
    2023-04-20T12:43:01.16+00:00

    Hi Priya, You can use Azure CLI or PowerShell cmdlets to control all kinds of tasks on Azure, from Administrative ones to the deployment of resources. If you have something repetitive you should be able to use either of these command styles to create looping scripts that will complete your task for you, however, you will first have to learn the commands, what they do and how to use them correctly. I would recommend reading the following articles for a brief introduction and watching videos from people about the kinds of things you can achieve. https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/powershell https://learn.microsoft.com/en-us/cli/azure/what-is-azure-cli Hope this helps you in some way! Jack

    0 comments No comments

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.