Forum Discussion
m_c_7
Dec 11, 2023Copper Contributor
Can I use PowerShell script with Functions in Azure Devops "Powershell@2" task?
I have a powershell script that includes functions defined in it. When I run it manually the script works fine and reference to the functions works fine.
But when I when I run it inside Azure Devops pipeline "Powershell@2" task, the script gets stuck at the point where first function is referenced and just hangs.
Is there a particular way I need to call functions in this script?
No RepliesBe the first to reply