about_CommonParameters 项目 2025/04/25 4 个参与者 反馈 本文内容 简短说明 长说明 通用参数说明 风险管理参数说明 另请参阅 简短说明 介绍可与任何 cmdlet 一起使用的参数。 长说明 通用参数是可与任何 cmdlet 结合使用的一组 cmdlet 参数。 它们由 PowerShell 实现,而不是由 cmdlet 开发人员实现,并
UseSSL 是額外的保護,可跨 HTTPS 傳送數據,而不是 HTTP。 如果您使用此參數,但在用於命令的埠上無法使用 SSL,則命令會失敗。 另請參閱 about_ActivityCommonParameters about_Workflows Invoke-AsWorkflow New-PSWorkflowExecutionOption New-PSWorkflowSession...
當您使用 屬性時 CmdletBinding,PowerShell 會自動新增 Common Parameters。 您無法建立任何使用與一般參數相同名稱的參數。 如需詳細資訊,請參閱 about_CommonParameters。 從PowerShell 3.0 開始,您可以使用 splatting 搭配 @args 來表示命令中的參數。 在簡單和進階的函式上,噴灑有效。 如需詳細資訊,...
In addition to the common parameters, many cmdlets offer the WhatIf and Confirm risk mitigation parameters. Cmdlets that involve risk to the system or to user data usually offer these parameters. The following list displays the common parameters. Their aliases are listed in parentheses. -Debug (d...
This setting indicates whether a parameter accepts multiple parameter values. When a parameter accepts multiple values, you can type a comma-separated list as the value of the parameter in the command, or save a comma-separated list (an array) in a variable, and then specify the variable as...
NAME New-Module SYNOPSIS Creates a new dynamic module that exists only in memory. SYNTAX New-Module [-Name] <String> [-ScriptBlock] <ScriptBlock> [-ArgumentList <Object[]>] [-AsCustomObject] [-Cmdlet <String[]>] [-Function <String[]>] [-ReturnResult] [<CommonParameters>] DESCRIPTION ...
-Job[-Name <String>] [-Credential <PSCredential>]-LiteralPath<String> [-Authentication <AuthenticationMechanism>] [[-InitializationScript] <ScriptBlock>] [-WorkingDirectory <String>] [-RunAs32] [-PSVersion <Version>] [-InputObject <PSObject>] [-ArgumentList <Object[]>] [<CommonParameters>]...
Start-Process[-FilePath] <string> [[-ArgumentList] <string[]>] [-WorkingDirectory <string>] [-PassThru] [-Verb <string>] [-WindowStyle <ProcessWindowStyle>] [-Wait] [-Environment <hashtable>] [-WhatIf] [-Confirm] [<CommonParameters>] ...
Get-ComplianceSearch-Identity"Case 1234"|Format-List This examples show details of the compliance search named Case 1234. Parameters -Case This parameter is available only in the cloud-based service. The Case parameter filters the results by the name of an eDiscovery Standard case that the complia...
Windows PowerShell reserves a few parameter names, referred to as Common parameters, which you can't use: WhatIf, Confirm, Verbose, Debug, ErrorAction, ErrorVariable, OutVariable, and OutBuffer. In addition, the following aliases for these parameter names are reserved: vb, db, ea, ev, ov...