摘要: 写了一个powershell脚本测试脚本,结果执行的时候报错$a=Get-Content C:\script.txt | select-string -pattern "ora" if ( $a -eq $null ) { write-host "error" } else { write-host "OK" } PS D:\> .\pshell.ps1无法加载文件 D:\pshell.ps1,因为在此系统中禁止执行脚本。有关详细信息,请参阅 "get-help about_signing"。所在位置 行:1 阅读全文
posted @ 2013-05-23 14:27 poisson_notes 阅读(852) 评论(0) 推荐(1) 编辑