update program/powershell/template/commFun.ps1

API: 0.7.0
Add ad functions