one command blocked in powershell

Options

hello everybody

we use Bitdefender in our production servers

and we use Azure DevOps to change IIS configs in those servers

there is one task in our pipeline to do new changes and that uses WinRM to connect to the server and with PowerShell manage the remote machine (production servers)

the problem is there is a command "Invoke-Expression" in one of the PowerShell of this task and Bitdefender blocks it

I need to know why

because it worked before Oct 2023 and after that, everything changes

I need a reason to explain to my manager and a way to solve that

for more details

https://github.com/microsoft/azure-pipelines-extensions/tree/master/Extensions/IISWebAppDeploy/Src/Tasks/IISWebAppMgmt/IISWebAppMgmtV3

this is the URL of the task we use

Thanks

Tagged: