Forum Discussion
Deni_Beslic
Dec 11, 2023Copper Contributor
Prevent SQL Server from being able to execute PowerShell scripts.
Hi. Because of some security concerns, we are trying to disable ability of SQL Server to execute Powershell scripts. Does anyone have experience with this and what are the downsides (our SQL team is saying that they are not using that feature)?
Thank you.
- Have you tried setting the Powershell executing policy to Restricted or RemoteSigned ?
https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.4
Regards
Javier