diff --git a/Src/DSInternals.PowerShell/Commands/Base/ADReplPrincipalCommandBase.cs b/Src/DSInternals.PowerShell/Commands/Base/ADReplPrincipalCommandBase.cs index 28f0eb3..c901a2e 100644 --- a/Src/DSInternals.PowerShell/Commands/Base/ADReplPrincipalCommandBase.cs +++ b/Src/DSInternals.PowerShell/Commands/Base/ADReplPrincipalCommandBase.cs @@ -14,6 +14,7 @@ namespace DSInternals.PowerShell.Commands [Parameter( Mandatory = true, Position = 0, + ValueFromPipeline = true, ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSetByName )] @@ -28,7 +29,6 @@ namespace DSInternals.PowerShell.Commands [Parameter( Mandatory = false, Position = 1, - ValueFromPipelineByPropertyName = true, ParameterSetName = ParameterSetByName )] [ValidateNotNullOrEmpty]