diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c8483b1c..4d291235f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -58,6 +58,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - Fixed `Add/Set-PnPListItem` issue with managed metadata / taxonomy field value failing in a batched request. - Fixed `Set-PnPListItem` issue with setting `Modified` date value properly when using `-Batch` parameter. - Fixed `Get-PnPTeamsTeam -Identity` throwing an exception if the name of the team would contain special characters +- Fixed `Get-PnPTerm` throwing an exception when used in combination with `-Includes` [#1384](https://github.com/pnp/powershell/pull/1384) - Fixed `Get-PnPDiagnostics` throwing an unable to cast exception under some circumstances [#1380](https://github.com/pnp/powershell/pull/1380) ### Removed @@ -83,6 +84,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - [Andy-Dawson] - David Aeschlimann [TashunkoWitko] - [outorted] +- [dkardokas] - Asad Refai [asadrefai] - Giacomo Pozzoni [jackpoz] diff --git a/src/Commands/Taxonomy/GetTerm.cs b/src/Commands/Taxonomy/GetTerm.cs index a76ed22df..51fdfdd04 100644 --- a/src/Commands/Taxonomy/GetTerm.cs +++ b/src/Commands/Taxonomy/GetTerm.cs @@ -18,10 +18,10 @@ public class GetTerm : PnPRetrievalsCmdlet [Parameter(Mandatory = false, ParameterSetName = ParameterSet_TERMNAME)] public TaxonomyTermPipeBind Identity; - [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0, ParameterSetName = ParameterSet_TERMNAME)] + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParameterSet_TERMNAME)] public TaxonomyTermSetPipeBind TermSet; - [Parameter(Mandatory = true, ValueFromPipeline = true, Position = 0, ParameterSetName = ParameterSet_TERMNAME)] + [Parameter(Mandatory = true, ValueFromPipeline = true, ParameterSetName = ParameterSet_TERMNAME)] public TaxonomyTermGroupPipeBind TermGroup; [Parameter(Mandatory = false, ParameterSetName = ParameterSet_TERMID)]