摘要: 在.net 环境下调用powershell 脚本,需要额外引用 “System.Management.Automation;" powershell 脚本示例,文件名保存为 2.ps1: #检查IIS状态 function Get-IISStatus { param( #输入参数 #[Paramte 阅读全文
posted @ 2020-07-14 13:14 老丹点赵 阅读(536) 评论(0) 推荐(0)