Managed Instance SQL Agent Run Powershell OR an EXE

John Couch 181 Reputation points
2021-07-18T16:11:34.65+00:00

Is it possible to run a PowerShell script or exe from a Managed Instance SQL Agent?

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,785 questions
0 comments No comments
{count} votes

Accepted answer
  1. Cris Zhan-MSFT 6,626 Reputation points
    2021-07-19T05:59:40.613+00:00

    Hi,

    According to my search, PowerShell job step is not supported in Azure SQL Managed Instance.
    https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/transact-sql-tsql-differences-sql-server#sql-server-agent

    Anyway, this forum (sql-server-general) currently applies to SQL Server on-premises. For question about Azure SQL, please add the corresponding tags.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.