Hei @Deepak Kumar Sharma ,
Thank you for contacting Microsoft Community. As i understand, you have a pipeline with a powershell task and you want to pass the output of the powershell task to the next task. Essentially save the output of powershell task to a runtime variable and then reference the runtime variable in the next task.
- The following article shows you all the ways to share the out put of one task across other task or stages etc. Share values across task or stages
- In case you want to pass a value as a variable to multiple pipelines user Variable Groups as described here
If this solves your issue, do mark this as an answer