PowerShell - 用于处理 cmdlet 的动词是什么?

标签 powershell

试图找到一个标准。

CmdLet 将处理数据 - 由参数定义的多个输入到一个输出中。处理时间从很短到 5 到 15 分钟不等,同时系统会处理大量数据并对其进行分析。

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

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

最佳答案

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

  • Cmdlet Verbs on MSDN
  • PowerShell: Approved Verbs (through v3.0)

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

    Invoke - Performs an action, such as running a command or a method.

    Invoke vs. Start The Invoke verb is used to perform an operation that is generally a synchronous operation, such as running a command. The Start verb is used to begin an operation that is generally an asynchronous operation, such as starting a process.

    关于PowerShell - 用于处理 cmdlet 的动词是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11039482/

    相关文章:

    powershell - Powershell-全局设置-server标志(AD cmdlet)

    sql - Azure SQL : Invalid Object Name using Powershell's "Invoke-sqlcmd" on Adventureworks

    azure - 创建 Azure 存储 Blob 容器时出现错误 403(启用存储防火墙

    email - 发送邮件消息 : The SMTP server requires a secure connection or the client was not authenticated.

    PowerShell,针对不指向文件但启动文件下载的 url 调用 WebRequest

    c# - 通过C#执行PowerShell函数脚本

    forms - 如何使用 pwsh 中的新 param -form 登录网站

    powershell - Test-Netconnection函数输出错误

    powershell - 什么是 PowerShell cmdlet?

    Azure Powershell 不创建具有多个端口的 NSG 规则