I'm reasonably new to PowerShell and have created a script to deploy a list into SharePoint using PNP PowerShell. One of the list items is a user field that is created with the following line
Add-PnPField -List "Owners" -DisplayName "Owner" -InternalName Owner -Type User -Required -ErrorAction Continue -AddToDefaultView | Out-Null
Can anyone tell me how I set this field to be users only and not users & groups?