Search Knowledge Base by Keyword
-
Introduction
-
Fundamentals
-
My ReadyWorks
-
Analytics
-
-
-
- Available Reports
- All Data Types
- Application Certification Status
- Application Discovery
- Application Group Analysis
- App Group to SCCM Collection Analysis
- Application Install Count
- Application License Management
- Application Usage
- Assets by Values
- Build Sheet
- Computer User Assignment
- Data Type Column Mappings
- Delegate Relationships
- ETL5 Staging Data
- Migration Readiness (Basic)
- Migration Readiness (Complex)
- O365 License Management
- O365 Migration Readiness
- Patch Summary
- Record Count by Property
- SCCM OSD Status
- Scheduled Computers by Wave
- Scheduled Users by Manager
- User Migration Readiness
- VIP Users
- Wave & Task Details
- Wave Group
- Windows 10 Applications
- Show all articles ( 14 ) Collapse Articles
-
-
-
-
Orchestration
-
Data
-
-
- View Primary Data
- Record Properties
- Images
- Notes
- Waves
- Tasks
- Attachments
- History
- Rationalization
- QR Code
- Linked Records
- SCCM Add/Remove Programs
- Altiris Add/Remove Programs
- Related Records
- Advanced Search
- Relationship Chart
- Primary Data Permissions
- Show all articles ( 2 ) Collapse Articles
-
Integration
-
-
-
- View Connection
- Connection Properties
- Make Into Connector
- Delete Connection
- Connection Error Settings
- Inbound Jobs
- Outbound Jobs
- New Inbound Job
- New Outbound Job
- Job Error Settings
- Enable Job
- Disable Job
- Edit Inbound Job
- Edit Outbound Job
- Upload File
- Run Inbound Job
- Run Outbound Job
- Set Runtime to Now
- Reset Job
- Delete Job
- Job Log
- Show all articles ( 6 ) Collapse Articles
-
-
- View Connector
- Connector Properties
- Authentication Methods
- New Authentication Method
- Authentication Method Error Settings
- Edit Authentication Method
- Delete Authentication Method
- Fields
- Edit Field
- Inbound Job Fields
- Edit Inbound Job Field
- Inbound Job Templates
- New Inbound Job Template
- Job Template Error Settings
- Edit Inbound Job Template
- Delete Inbound Job Template
- Outbound Job Fields
- Edit Outbound Job Field
- Outbound Job Templates
- New Outbound Job Template
- Edit Outbound Job Template
- Delete Outbound Job Template
- Show all articles ( 7 ) Collapse Articles
-
-
- ETL5 Connector Info
- Absolute
- Azure Active Directory
- Comma-Separated Values (CSV) File
- Generic Rest JSON API
- Generic Rest XML API
- Ivanti (Landesk)
- JAMF
- JSON Data (JSON) File
- MariaDB
- Microsoft Endpoint Manager: Configuration Manager
- Microsoft SQL
- Microsoft Intune
- Oracle MySQL
- PostgreSQL
- Pure Storage
- ServiceNow
- Tanium
- XML Data (XML) File
- JetPatch
- Lenovo XCLarity
- Nutanix Move
- Nutanix Prism
- Nutanix Prism - Legacy
- RVTools
- Simple Object Access Protocol (SOAP)
- VMware vCenter
- VMware vCenter SOAP
- Cloudian
- Cohesity
- Dell EMC
- Dell Powerflex
- Everpure
- Hitachi Vantara
- Intel Redfish
- NetApp
- Nutanix AHV Compatibility Matrix
- Nutanix Collector
- PowerShell: Microsoft Active Directory
- PowerShell: Oracle MySQL
- PowerShell: Microsoft SQL
- Qumulo
- Scality
- Veeam
- Show all articles ( 29 ) Collapse Articles
-
-
Admin
-
-
-
- Modules
- Attachments
- Bulk Edit
- Data Generator
- Data Mapping
- Data Quality
- ETL
- Form Builder
- Images
- Multi-Factor Authentication
- Notifications
- Rationalization
- Relationship Chart
- Reports
- Rules
- Single Sign-On
- T-Comm
- User Experience
- Show all articles ( 4 ) Collapse Articles
-
-
API
-
Administration
-
FAQs
-
Solutions
-
PowerShell: Microsoft SQL
Overview
This connector reads Microsoft SQL Server tables by running a PowerShell script on a Windows host instead of connecting from the ReadyWorks application server. SQL Server is the dominant relational database on Windows estates and the back end of most Windows-based management tooling, including Configuration Manager site databases and the majority of Windows ITSM, CMDB and asset platforms.
The connection names the SQL Server instance, a port (the default is 1433), an optional source database, optional credentials, and a temporary working path on the Windows host. Each job’s Data Selection field carries the T-SQL statement to run, and the result set is written to the named staging table. The script CX_MSSQL.ps1 performs the connection and the query.
The deployment difference is the point of this connector. Running from a Windows host puts the query inside the Windows security and network boundary, which matters for two reasons. It avoids exposing a database port to the ReadyWorks application server when the instance sits in a restricted segment. And because Username and Password are optional on this form, where the direct Microsoft SQL connector requires them, it offers a path for instances that do not accept SQL Server authentication logins.
The connector is inbound only. It reads query results and writes staging tables, and it issues no writes to the source database.
NOTE: windows_only is set on this connector. The ReadyWorks ETL host that runs these jobs has to be a Windows machine with PowerShell and a SQL client available to it, and it needs network reachability to the SQL Server instance. A Linux-hosted ReadyWorks deployment cannot run this connector.
Connector Properties
| Property | Value |
|---|---|
| Identifier | RWS_MSSQL |
| Name | Powershell: Microsoft SQL |
| Description | Connector for accessing Microsoft SQL database tables. |
| Job Types | Inbound Only |
| Order | 820 |
| Enabled | Yes |
| Locked | Yes |
| Block Update | No |
| Single Authentication | No |
| Windows Only | Yes |
| Connector Version | 2025-12-05 |
| Hooks | None |
| Additional Job Fields | None |
| Image | ![]() |
Authentication Methods
One method ships: a PowerShell connection to a SQL Server instance from the Windows ETL host.
| Method | Identifier | Base Method | Script | Order | Enabled | Config Fields |
|---|---|---|---|---|---|---|
| Username / Password | RWS_MSSQL_17bb6b78c0 |
RWS_MSSQL_17bb6b78c0 |
CX_MSSQL.ps1 |
10 | Yes | 6 |
NOTE: Source DB Name, Username and Password are all optional here, where the direct Microsoft SQL connector requires all three. Leaving the credentials blank means the script connects under whatever Windows identity the ETL process runs as, so confirm with your DBA which login the run actually presents and that it holds the read permissions the query needs.
NOTE: Source DB Name is stored in the auth_data_node column, which is labelled Authentication Data Node on other connectors. The value is the database name.
Method 1: Username / Password (RWS_MSSQL_17bb6b78c0)
Connect to a MS SQL Server
Username / Password runs CX_MSSQL.ps1 against the instance in Source Server on the port in Source Server Port (the default is 1433). Username, Password and Source DB Name are all optional on this form. Server Temporary Working Path is required and names the directory on the Windows host where the script stages its output.
Connection Configuration Fields (6)
| Order | Label | Type | Required | Default | Max Len | Tooltip |
|---|---|---|---|---|---|---|
| 10 | Source Server | text | Yes | 255 | Enter name of the source server | |
| 20 | Source Server Port | text | Yes | 1433 |
5 | Enter port number of the source server |
| 30 | Server Temporary Working Path | text | Yes | storage/etl5 |
255 | Enter path where temporary files are stored during data processing (exclude starting and ending backslash) |
| 40 | Username | text | No | 1024 | Tooltip for Username | |
| 50 | Password | password | No | 64000 | Tooltip for Password | |
| 200 | Source DB Name | text | No | 255 | Enter name of the source database |
Authentication Configuration
cURL options:
| Option | Authentication Call | Data Calls |
|---|---|---|
USERAGENT |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0 |
Same |
SSL_VERIFYHOST |
false |
Same |
SSL_VERIFYPEER |
false |
Same |
RETURNTRANSFER |
true |
Same |
FOLLOWLOCATION |
true |
Same |
FAILONERROR |
true |
Same |
Inbound Job Fields Enabled (13)
These are the job-level settings exposed for a PowerShell Microsoft SQL extract. Data Selection holds the T-SQL statement.
| Order | Label | Type | Required | Default | Tooltip |
|---|---|---|---|---|---|
| 10 | Job Description | text | Yes | Enter description of the Job | |
| 20 | Job Schedule | lookup | Yes | Daily | Select frequency Job should run |
| 30 | Enabled | radio | Yes | Yes | Choose if Job is enabled |
| 60 | Allow Empty Table | radio | No | Yes | Choose if an empty table is allowed |
| 70 | Destination Table | text | Yes | Enter name of the destination table | |
| 80 | Data Identity | text | No | Enter identity of the Job | |
| 90 | Data Selection | textarea | No | Enter connector specific data selection command of the Job | |
| 120 | Append New Data to Existing Tables | radio | No | No | Choose if new data will append to the existing destination table, or will create a new destination table |
| 130 | Fields to Index | text | No | Enter fields to index | |
| 150 | Request Unique Key Field | text | No | Enter request unique field key of the Job | |
| 160 | Request Sort By Field | text | No | Enter field to sort by | |
| 290 | Request Limit | text | No | Enter request limit of the Job | |
| 560 | Order | text | Yes | Enter order of the Job |
Inbound Job Templates (1)
One inbound template ships. It is enabled by default and carries a placeholder query, so deal with it before the first scheduled run.
| # | Job Description | Destination Table | API End Point | Enabled | What It Pulls |
|---|---|---|---|---|---|
| 1 | MS SQL Table Data | mssql_data |
Not set |
Yes | A skeleton job carrying the statement SELECT * FROM {tablename} and writing to the mssql_data staging table. Replace the statement, the destination table and the data identity with your own. |
Job Template Configuration
Settings
| Setting | Value |
|---|---|
| Order | 10 |
| Enabled | Yes |
| Job Schedule | Daily (15 1 * * *) |
| Destination Table | mssql_data |
| Data Identity | mssql_data |
| Allow Empty Table | Yes |
| Append Files to Same Destination Table | No |
| Append New Data to Existing Tables | No |
| Use Unparsed Data | No |
| Convert UUID-Keyed Objects to Rows | No |
| Ignore XML Attributes | No |
| Log Raw API Calls | No |
| Method Type | GET |
| Body Data Sending Method | JSON Encoded Data |
Job Parameters and Enumeration
MS SQL Table Data
Data Selection: SELECT * FROM {tablename}
Outbound Job Templates (0)
This connector ships no outbound templates and does not support outbound jobs.

