【发布时间】:2011-11-01 23:44:27
【问题描述】:
如何启动我刚刚定义的函数的工作?
function FOO { write-host "HEY" } Start-Job -ScriptBlock { FOO } |
Receive-Job
Receive-Job: The term 'FOO' is not recognized as the name of cmdlet,
function ,script file or operable program.
我该怎么办? 谢谢。
【问题讨论】:
标签: powershell jobs