Database Parameter (Connect-Odoo Cmdlet)
Specifies the name of the Odoo database that you want to connect to.
Syntax
Connect-Odoo -Database string
Data Type
cstr
Default Value
""
Remarks
The value you provide depends on whether you're connecting to Odoo Online or an On-Premise instance:
- Odoo Online: The database name typically matches your custom Odoo subdomain. For example, if your URL is https://contoso.odoo.com, the database name is "contoso". When using the cmdlet, this value is typically detected automatically from the URL property. If the database cannot be determined from the URL, you must set this property manually.
- Odoo On-Premise: You can find the database name by logging out of Odoo and selecting Manage Databases from the login screen.
This is a required parameter.