I'm using below script that actually create the News List in my SharePoint Online site, but I'm stuck on how to create different Column (Field) types under that List, right now it's just creating a Multiple lines of text Type field (
NewsText). See the script below. I like to create
Yes/No Choice Type,
Multi Selection Type etc.. fields. Please guide.
$newsListName = "News" Add-List -listTitle $newsListName [string]$fields = ("NewsSum","Note",""), ("NewsText","Note","") Add-FieldsToList $fields $newsListName