question

JohnCouch-7779 avatar image
0 Votes"
JohnCouch-7779 asked JohnCouch-7779 commented

Managed Instance SQL Agent Run Powershell OR an EXE

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

sql-server-general
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Criszhan-msft avatar image
0 Votes"
Criszhan-msft answered JohnCouch-7779 commented

Hi,

According to my search, PowerShell job step is not supported in Azure SQL Managed Instance.
https://docs.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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I would use the tags if they existed. There is no tag for Azure-Managed-Instance.

Thanks for finding that. I had found that article previously but apparently missed that section. Probably a bad page search.

0 Votes 0 ·