Extract Secondary owners from Security Groups

Hi All,

I need powershell script to find out secondary owners from all the security groups in my domain. I searched for few blogs and found some suggestion about report but i need script/Powershell to find out the same. 

We have thousand groups and for each i need secondary Owners information in table. I tried one script but seems it is only giving secondaryOwner information where there is only one ID added. multiple IDs as secondary owners could not extarct. 

Thanks for any help or clue.