请注意,Show-Command 还公开了 Windows PowerShell 通用参数,Windows PowerShell 将这些参数添加到所有命令中来提供一组预定义的核心功能。 在接下来的模块中,你将详细了解许多通用参数。 不过,若是想立即了解这些信息,请在 Windows PowerShell 中运行 help about_common_parameters,然后查看结果。 使...
當您使用 屬性時 CmdletBinding,PowerShell 會自動新增 Common Parameters。 您無法建立任何使用與一般參數相同名稱的參數。 如需詳細資訊,請參閱 about_CommonParameters。從PowerShell 3.0 開始,您可以使用 splatting 搭配 @Args 來表示命令中的參數。 在簡單和進階的函式上,噴灑有效。 如需詳細資訊,...
[<CommonParameters>] Get-Command [[-Name] <string[]>] [[-ArgumentList] <Object[]>] [-Module <string[]>] [-FullyQualifiedModule <ModuleSpecification[]>] [-CommandType <CommandTypes>] [-TotalCount <int>] [-Syntax] [-ShowCommandInfo] [-All] [-ListImported] [-ParameterName <string[]>...
Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any ...
Show-Command[[-Name] <String>] [-Height <Double>] [-Width <Double>] [-NoCommonParameter] [-ErrorPopup] [-PassThru] [<CommonParameters>] 说明 Show-Commandcmdlet 使你可以在命令窗口中创建 Windows PowerShell 命令。 你可以使用命令窗口的功能运行命令或使其向你返回命令。
Some parameters and settings may be exclusive to one environment or the other. Use the Set-User cmdlet to modify user attributes. You can use this cmdlet to modify all objects that have user accounts (for example, user mailboxes, mail users, and user accounts). For information about the ...
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter...
Get-Help [[-Name] <String>] [-Path <String>] [-Category <String[]>] [-Component <String[]>] [-Functionality <String[]>] [-Role <String[]>] -ShowWindow [<CommonParameters>]DescriptionGet-Help Cmdlet 會顯示 PowerShell 概念和命令的相關信息,包括 Cmdlet、函式、Common Information Model (...
You need to be assigned permissions before you can run this cmdlet. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter...
ForEach-Object -Parallel [-InputObject <psobject>] [-ThrottleLimit <int>] [-TimeoutSeconds <int>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>] Normally, when you use the ForEach-Object cmdlet, each object piped to the cmdlet is processed sequentially. Copy 1..5 | ForEach-Ob...