8

试图找到一个标准。

CmdLet 将处理数据 - 由参数定义的多个输入到输出。处理将需要很短的时间,大部分时间为 5 到 15 分钟,而系统会处理大量数据并对其进行分析。

“执行”给了我一个警告,但我发现的“常用动词”似乎都不合适。我发现没有那么多打开等,但没有“处理”或“执行”或“分析”。

有没有我忽略的特定标准动词?

4

2 回答 2

9

根据您提供的信息,我建议Invoke. 但是您可以在这些链接中找到一些关于 Cmdlet 动词的有用讨论:

第一个链接的一些关键摘录:

调用- 执行操作,例如运行命令或方法。

Invoke vs. Start Invoke动词用于执行通常是同步操作的操作,例如运行命令。Start动词用于开始通常是异步操作的 操作,例如启动进程。

于 2012-06-14T18:59:18.363 回答
8

要获得批准的动词列表,请使用Get-Verbcmdlet。如果我想在不依赖 MSDN 或 Google(或 Bing 或 DuckDuckGo)的情况下找到合适的动词,我经常会发现这很有用。

PS> Get-Verb

Verb        Group
----        -----
Add         Common
Clear       Common
Close       Common
Copy        Common
Enter       Common
Exit        Common
Find        Common
Format      Common
Get         Common
Hide        Common
Join        Common
Lock        Common
Move        Common
New         Common
Open        Common
Pop         Common
Push        Common
Redo        Common
Remove      Common
Rename      Common
Reset       Common
Search      Common
Select      Common
Set         Common
Show        Common
Skip        Common
Split       Common
Step        Common
Switch      Common
Undo        Common
Unlock      Common
Watch       Common
Backup      Data
Checkpoint  Data
Compare     Data
Compress    Data
Convert     Data
ConvertFrom Data
ConvertTo   Data
Dismount    Data
Edit        Data
Expand      Data
Export      Data
Group       Data
Import      Data
Initialize  Data
Limit       Data
Merge       Data
Mount       Data
Out         Data
Publish     Data
Restore     Data
Save        Data
Sync        Data
Unpublish   Data
Update      Data
Approve     Lifecycle
Assert      Lifecycle
Complete    Lifecycle
Confirm     Lifecycle
Deny        Lifecycle
Disable     Lifecycle
Enable      Lifecycle
Install     Lifecycle
Invoke      Lifecycle
Register    Lifecycle
Request     Lifecycle
Restart     Lifecycle
Resume      Lifecycle
Start       Lifecycle
Stop        Lifecycle
Submit      Lifecycle
Suspend     Lifecycle
Uninstall   Lifecycle
Unregister  Lifecycle
Wait        Lifecycle
Debug       Diagnostic
Measure     Diagnostic
Ping        Diagnostic
Repair      Diagnostic
Resolve     Diagnostic
Test        Diagnostic
Trace       Diagnostic
Connect     Communications
Disconnect  Communications
Read        Communications
Receive     Communications
Send        Communications
Write       Communications
Block       Security
Grant       Security
Protect     Security
Revoke      Security
Unblock     Security
Unprotect   Security
Use         Other

PS>
于 2012-06-15T00:13:19.393 回答