From cd8506eb01d03435d46ddad77a7b9494fea968e2 Mon Sep 17 00:00:00 2001 From: Santiago Squarzon Date: Fri, 6 Sep 2024 20:19:50 -0300 Subject: [PATCH] ValueFromPipelineByPropertyName has no effect in BeginProcessing Method. Can be removed. --- src/PSADTree/PSADTreeCmdletBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PSADTree/PSADTreeCmdletBase.cs b/src/PSADTree/PSADTreeCmdletBase.cs index 016bb75..418a84e 100644 --- a/src/PSADTree/PSADTreeCmdletBase.cs +++ b/src/PSADTree/PSADTreeCmdletBase.cs @@ -43,7 +43,7 @@ public abstract class PSADTreeCmdletBase : PSCmdlet, IDisposable [Parameter] public string? Server { get; set; } - [Parameter(ValueFromPipelineByPropertyName = true)] + [Parameter] [Credential] public PSCredential? Credential { get; set; }