Improved SamAccountName pipeline processing

Improved SamAccountName pipeline processing in Get-ADReplAccount.
This commit is contained in:
Michael Grafnetter 2022-02-05 18:47:06 +01:00 committed by GitHub
parent 527bf6d0e0
commit d879fe0878
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]