I need to create one list with powershell with the following columns
Title Url (255 max length) Description (255 max length)
It must be a custom list. There is no need to create site columns or content type, just the list
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.Sign up to join this community
I find it strange that you have done no basic research before posting this. Googling "create list powershell" will find you this post from heyscriptingguy, which should be what you need to get started.
PS > $listTemplate = [Microsoft.SharePoint.SPListTemplateType]::GenericList PS > $spListCollection = $spWeb.Lists PS > $spListCollection.Add("My Generic List","Description",$listTemplate) PS > $spList = $spWeb.Lists["My Generic List"] PS > $spFieldType = [Microsoft.SharePoint.SPFieldType]::Text PS > $spList.Fields.Add("TextField",$spFieldType,$false)