Description
This PowerShell Workflow runbook demonstrates how to communicate with a SQL Server. Specifically, this runbook outputs the number of records in the specified SQL Server database table.
Requirements
Before running this runbook, make sure the following components are available:
- SQL Server that allows incoming connections from Azure services
- Automation Credential Asset with credentials for the SQL Server to be accessed
Runbook Contents
The runbook's contents are displayed below:
Note: TechNet gallery is retiring! This script was migrated from TechNet script center to GitHub by Microsoft Azure Automation product group.