方法一:
Get-Content "D:PowershellScriptsTestErrorMailNotice.ps1" | Invoke-Expression
方法二:
$script = "D:PowershellScriptsTestErrorMailNotice.ps1"
.$script