The New-ContentLibrary cmdlet doesn't seem to support OBN for the Datastore parameter.
You will have to do a Get-Datastore to pass the parameter.
New-ContentLibrary -Name Test -Datastore (Get-Datastore -Name TestDS)
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference