ConfigParametersKeyedCollection[string,ConfigParameter]连接器的配置参数表。 凭证PSCredential包含管理员在“连接”选项卡上输入的任何凭据。 验证脚本应将单个 ParameterValidationResult 对象返回到管道。 模式发现 架构发现脚本是必需的。 此脚本返回同步服务在配置属性流规则时使用的对象类型、属性和属性约束。 架构发现脚...
這個類別必須包含每個參數的Parameter屬性,以及 Cmdlet 所需的任何選擇性Alias和Validation屬性。 例如: C#複製 publicclassSendGreetingCommandDynamicParameters{ [Parameter] [ValidateSet ("Marketing","Sales","Development")]publicstringDepartment {get{returndepartment; }set{ department =value; } }privatestringdepart...
[-Filter <ScriptBlock>] [-Limit <String>] [-WebApplication <SPWebApplicationPipeBind>] [-WhatIf [<SwitchParameter>]] [<CommonParameters>] Get-SPSite -Identity <SPSitePipeBind> [-AssignmentCollection <SPAssignmentCollection>] [-Confirm [<SwitchParameter>]] [-Filter <ScriptBlock>] [-Limit ...
Parameters should be defined as Microsoft .NET Framework types to provide better parameter validation. For example, parameters that are restricted to one value out of a set of values should be defined as an enumeration type. Parameters that take a Uniform Resource Identifier (URI) value should...
The SmartHosts parameter must be set to a value that specifies a smart host. The DNSRoutingEnabled parameter must be set to $false. Although you can configure non-SMTP address spaces on a Send connector in the Transport service on a Mailbox server, the Send connector uses SMTP as the tran...
+ CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom mand Set-Location : 无法处理参数,因为参数“path”的值为空。请将参数“path”的值更改为非空值。
ParameterSetName The name of the parameter set in effect. (Inherited from PSCmdlet) PromptText SessionState Gets the instance of session state for the current runspace. (Inherited from PSCmdlet) ShowToolTips Stopping Is this command stopping? (Inherited from Cmdlet) ViModeIndicator Wo...
(Parameter 'value') ParamName : value TargetSite : Name : ArgumentNotNull DeclaringType : Newtonsoft.Json.Utilities.ValidationUtils, Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed MemberType : Method Module : Newtonsoft.Json.dll StackTrace : at Newtonsoft.Json....
+ CategoryInfo : InvalidData: (:) [Test-Path], ParameterBindingValidationException + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.TestPathCom mand Set-Location : 无法处理参数,因为参数“path”的值为空。请将参数“path”的值更改为非空值。
CodeSigningCert<System.Management.Automation.SwitchParameter>表示为开关类型的数据,示例:D盘创建一个...