DawsyB

Results comments of DawsyB

Just tweak your code with an If condition to avoid double adding if(!$fields.contains($FieldName)) { $fields += $FieldName Set-PnPView -List $ListTitle -Identity $ViewName -Fields $fields }