Get Branch Name from powershell step

Hi

How can i get the bracn name fom powershell

When i look at the raw output from a deployment i see the following

Server version: 3.8.2+Branch.master.Sha.69…

How can i access this variable?

Actually thi sis not the branch name of my deployment - thats what i need

Hi Gareth,

Thanks for reaching out! Could you show me a screenshot of exactly the bit of information you are looking for? Not sure what you mean by Branch name of my deployment.

Thanks,
Dalmiro