Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
David_Brodin
Contributor

Python script to copy service groups from SMS to new SMS

Hi,

I had a need to copy objects from one SMS to a new one.  After exporting and creating csv-files I realised that the csv-syntax for adding groups wasn't documented*. I decided to create a python-script, for the remaining objects - service groups.

My goal is to also copy the services themselves as they need to exist before creating the group (duh), and then also other kind objects.

https://github.com/durd/cp-services

Thanks!

*  I figured it out, but decided it was easier with python as csv would have a column for each group-member, which would fail because all groups do not have the same amount of members, unless you create a csv per group which I felt wasn't feasible.

0 Kudos
0 Replies

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Thu 05 Mar 2026 @ 12:00 PM (SGT)

    2026 Threat Landscape Briefing - APAC

    Thu 05 Mar 2026 @ 03:00 PM (CET)

    2026 Threat Landscape Briefing - EMEA

    Thu 05 Mar 2026 @ 11:00 AM (EST)

    Tips and Tricks 2026 #1: MCP Servers

    Thu 05 Mar 2026 @ 02:00 PM (EST)

    2026 Threat Landscape Briefing -AMER
    CheckMates Events