powershell
7 items tagged with "powershell"
Articles
Deploy Azure Automation Runbooks via GitHub Actions
This code snippet shows how to use deploy Azure Automation PowerShell runbooks using GitHub Actions workflow. Automation Runbooks can be used to run scripts regularly including PowerShell workflows, Python scripts, etc. If you have multiple scripts to deploy, you can create a PowerShell script file to deploy. The following assumptions are made: The PowerShell runbook script (myrunbook.ps1) is located in the specified folder (scripts/runbooks). The runbook is PowerShell type. GitHub Actions secrets are setup to use OIDC to authenticate with Azure. The resource will be deployed into automation account named myautomationaccount under resource group 'rg'.
Github Action Az Automation PowerShell: Object reference not set to an instance of an object
Azure PowerShell Runbook Error - Internet Explorer engine is not available
Export CSV File from Azure SQL Databases
Calculate Difference/Duration between Two Timestamps in PowerShell
This code snippet shows how to calculate time differences.
List all environment variables in PowerShell
Environment variables are commonly used in many frameworks or programs.