Ga naar hoofdinhoud
Unlisted page
This page is unlisted. Search engines will not index it, and only users having a direct link can access it.

Example 1

Summary

This example executes any export profile on every connection profile.

PowerShell
Import-Module -Name "C:\Users\000001000002\OneDrive - Go For Cloud bv\Documents\PowerShell\Modules\PowerShellForOdoo"
PowerShell
Import-Module -Name "C:\Users\000001000002\OneDrive - Go For Cloud bv\Documents\PowerShell\Modules\PowerShellForOdoo"

# Get all Connection Profiles
$ConnectionProfiles = Get-OdooConnectionProfile -Name "Go For Cloud - Demo"

# Get all Export Profiles
$ExportProfiles = Get-OdooExportProfile -Name "Countries ilike"

# Run every Export Profile for every Connection Profile
Invoke-OdooExportProfile -ExportProfile $ExportProfiles -ConnectionProfile $ConnectionProfiles -ErrorAction Continue