skip to Main Content

Azure Automation powershell runbook hung up issue

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 files under a particular folder. $ResourceGroup = '<<myResourceGroup>>' $TargetDir = '<targetDirectoryPath/.' $TargetCommand = 'rm…

VIEW QUESTION

Powershell – Sending an array to JSON

I have been having a problem while automating a task using API. The final JSON output of the Powershell script should look like this: { "scopes": [ { "description": "someDescription", "scopePath": "somePath" } ], "sources": [ { "eventSource": "SecureScores" },…

VIEW QUESTION

Powershell: JSON to Excel

I have had a problem for days and am now reporting here. I want to export several JSON files to an Excel spreadsheet. The JSON keys should form the headers and the values should be listed under the headers. Unfortunately,…

VIEW QUESTION
Back To Top
Search