I am using below code in shell. I need to run the same in PowerShell.
I have frame list in file and I need to excute the command in loop and I need append the prefix variable to each output
for g in `cat /home/capacity-report/vmax3-frame.txt`
do
echo $g; `symsg -sid $g list -v` > /home/capacity-report/sg
done