Skip to main content

PowerShell

This article contains instructions for how to connect to Odoo SMP using PowerShell.

What do you need to know before you begin?

  • The requirements for installing and using the module are described in Install and maintain the PowerShellForOdoo module.
  • After you connect, the cmdlets and parameters that you have or don't have access to is controlled by role-based access control (RBAC).

Operating Mode

This section lists the different ways to set up and run Odooe SMP. When you install Odooe SMP, choose an installation type based on ease of maintenance, security, control, available resources, and expertise required to operate and manage Odoo Instances.

You can deploy Odoo SMP on a Kubernetes cluster or on a single machine, in the cloud, or for your own datacenter.

Step 1: Load the Odoo API PowerShell module

note

If the module is already installed, you can typically skip this step and run Connect-OdooSmp without manually loading the module first.

After you've installed the module, open a PowerShell window and load the module by running the following command:

PowerShell
Import-Module PowerShellForOdoo

Step 2: Connect and authenticate

PowerShell
Connect-OdooSmp -Host