fig3_powershell-code