powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[FEATURE] Remove-PnPField - Batch Removal Using Array

Open robertcaretta opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Would it be possible to add the ability to send an array of site columns to be removed in one command?

Describe the solution you'd like Remove multiple site columns in one command.

Example 1: Remove-PnPField -Identity "Speakers","Stereo","Headphones"

Example 2: $fields = @("Speakers","Stereo","Headphones") Remove-PnPField -Identity $fields

Describe alternatives you've considered Using the command as it is and looping over each site column to be removed.

Additional context N/A.

robertcaretta avatar Mar 01 '22 14:03 robertcaretta