在我的 Powershell 会话中,该词job
被识别为“可调用操作”:
PS C:\Users\Rene\> job
Id Name PSJobTypeName State HasMoreData Location Command
-- ---- ------------- ----- ----------- -------- -------
1 Job1 BackgroundJob Completed True localhost ...
3 Job3 BackgroundJob Completed True localhost ...
5 Job5 BackgroundJob Completed True localhost ...
7 Job7 BackgroundJob Completed True localhost ...
9 Job9 BackgroundJob Completed True localhost ...
的输出与job
的相同get-job
。所以,我假设这job
是一个函数或别名或 cmdLet。然而,情况似乎并非如此:
PS C:\Users\Rene> get-command job
get-command : The term 'job' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path
was included, verify that the path is correct and try again.
那么,如果job
既不是 cmdlet 也不是函数,也不是别名,也不是脚本文件,它是什么?