powershell -command ". ('ps1脚本路径'); WriteInfo -param 'param参数值'"
其中,. ('ps1脚本路径');“.”后面带有一个空格。
转载于:https://www.cnblogs.com/mermaidLoft/p/5959460.html