I have been trying to create a script to start my postgresSQL flexible server on weekdays and stop it on Saturday and Sunday for cost optimization. R ...
I have been trying to create a script to start my postgresSQL flexible server on weekdays and stop it on Saturday and Sunday for cost optimization. R ...
Trying to get the list of unused/inactive storage accounts in azure using powershell. Below is my script which im trying it will provide the storage a ...
I am creating an Azure Automation account having a powershell runbook. The script is simply looping over each VM in a resource group and deleting all ...
I am attempting to run a daily report with Azure Automation that will produce a CSV. Per Microsoft's documentation this report can be exported to Azur ...
Have provided my code and json format below. I'm using powershell runbook to retrieve the values from this json. But facing error. Can anyone please h ...
I'm trying to create a schedule to trigger a runbook using powershell commands in Azure Automation account. Runbook is taking resourcevariable which i ...
I'm having two runbooks of two different powershell versions (5.1, 7.1). How to call a runbook(7.1) from runbook(5.1)? Modules used : AZ-Security ...
I have a PS script that register's an app in Azure AD. I want to add redirect URLs using ps script. I tried to take user inputs like, $uri = Read-Hos ...
. Answers to this question are eligible for a +50 reputation bounty. On ...
I have a runbook which uses C# dll as module. This C# code starts the process(.exe) internally. which is not working in Azure automation(powershell ru ...
I have an Azure Function app running which I need to stop and start on a schedule. tried to automate it by Azure Automation Account using Runbook with ...
In Azure automation runbook I want to connect with storage account and get the context without the account key. I can connect with the storage account ...
I have a Kusto query that will output for me processes from my VMs (whether they are stopped or not). Here is the query: I need to parse the Compu ...
In order to save expenses in Azure DevOps, I'm trying to scale the resources, which can scale depending on the requirement. Team leads will update the ...
I would like to run a Azure Automation Runbook (PowerShell) and run connect-PnPOnline or connect-MicrosoftExchange clientid & clientsecret will b ...
My VMs all have Azure DevOps agents installed on them to automate deployments. We have a need to automate runbook tasks on these agents as well, and a ...
Bumping up against Bicep documentation as usual. I can't seem to find any help on how to add parameters to a Job Schedule for an Automation Account Ru ...
How do I disable an azure automation job via terraform? I have all the resources defined/applied via terraform, and when I disable the schedule via UI ...
I am stumped on what exactly I am missing here. I am trying to author a script to check if a schedule is enabled or not enabled in an Azure Automation ...
When iam trying to create lock using powershell Azure automation runbook by using below script error getting: A positional parameter cannot be foun ...