KEPM Collection Commands

This page gives information of commands related to perform operations related to KEPM collections

Overview

This section covers all the Keeper Commander commands for managing KEPM collections. Collections group resources such as users, machines, applications, and other entities that can be used in policy filters. These commands allow administrators to create, view, update, delete, and manage links between collections and other KEPM entities.

This section supports the following commands:

Usage

pedm collection command [--options] OR pedm c command [--options]

Alias: c


Collection List Command

View all KEPM collections with optional filtering by type or search pattern. Collections can represent various resource types including OS builds, applications, user accounts, group accounts, and custom collections.

DotNet CLI

Command: epm-collection list

Parameters:

Parameter
Description

--type

Filter by collection type number.

Examples:

DotNet SDK

Function:

Power Commander

Command: Get-KeeperEpmCollectionList

Alias: kepm-collection-list

Parameters:

Parameter
Description

-CollectionType

Filter by collection type number.

Collection Types:

Value
Name

1

OS Build

2

Application

3

User Account

4

Group Account

202

OS Version

Examples:

Python CLI

Command: pedm collection list

Aliases: pedm c l, pedm c list

Flags:

Flag
Description

-v, --verbose

Show detailed collection information

--type

Filter by collection type (integer)

--pattern

Search pattern for collection names

--format

Output format - json, csv, or table

--output

Save output to specified file

Example:

Python SDK

Function:

Collection View Command

Display detailed information about specific collections including their type, values, and associated links to agents, policies, or other collections.

DotNet CLI

Command: epm-collection view

Parameters:

Parameter
Description

(positional)

Collection UID or name (case-insensitive).

Examples:

DotNet SDK

Function:

Power Commander

Command: Get-KeeperEpmCollection

Alias: kepm-collection-view

Parameters:

Parameter
Description

-CollectionUidOrName

Collection UID or name (case-insensitive).

Examples:

Python CLI

Command: pedm collection view <collection> [collection...]

Aliases: pedm c v, pedm c view

Flags:

Flag
Description

-v, --verbose

Show verbose information

--link

Show details for specific link UIDs - can be repeated

--format

Output format - json, csv, or table

--output

Save output to specified file

collection

Collection UID (required, can specify multiple)

Example:

Python SDK

Function:

Collection Add Command

Create new custom collections for grouping resources. Collections can be used in policy filters to target specific sets of users, machines, or applications.

DotNet CLI

Command: epm-collection add

Parameters:

Parameter
Description

(positional)

Collection UID.

--type

Collection type (1=OS Build, 2=Application, 3=User Account, 4=Group Account, 202=OS Version).

--data

Collection data as a JSON string.

--data-file

Path to a file containing collection data JSON.

Examples:

DotNet SDK

Function:

Power Commander

Command: Add-KeeperEpmCollection

Alias: kepm-collection-add

Parameters:

Parameter
Description

-CollectionUid

Collection UID.

-CollectionType

Collection type (1=OS Build, 2=Application, 3=User Account, 4=Group Account, 202=OS Version).

-Data

Collection data as a JSON string.

-DataFile

Path to a file containing collection data JSON.

Examples:

Python CLI

Command: pedm collection add <collection_name> [collection_name...]

Aliases: pedm c a, pedm c add

Flags:

Flag
Description

--type

Collection type (required, integer)

collection

Collection name (required, can specify multiple)

Example:

Python SDK

Function:

Collection Update Command

Modify the name of an existing collection. This command allows administrators to update collection names without recreating them or affecting their links.

DotNet CLI

Command: epm-collection update

Parameters:

Parameter
Description

(positional)

Collection UID or name (case-insensitive).

--type

New collection type.

--data

Collection data as a JSON string.

--data-file

Path to a file containing collection data JSON.

Examples:

DotNet SDK

Function:

Power Commander

Command: Update-KeeperEpmCollection

Alias: kepm-collection-edit

Parameters:

Parameter
Description

-CollectionUidOrName

Collection UID or name (case-insensitive).

-CollectionType

New collection type.

-Data

Collection data as a JSON string.

-DataFile

Path to a file containing collection data JSON.

Example:

Python CLI

Command: pedm collection update <collection>

Aliases: pedm c u, pedm c update

Flags:

Flag
Description

--name

New collection name (required)

--type

Collection type (optional, for disambiguation)

collection

Collection UID or name (required)

Example:

Python SDK

Function:

Collection Delete Command

Remove one or more collections from the system. This command supports deleting specific collections or using special values like @orphan_resource to clean up orphaned resource collections.

DotNet CLI

Command: epm-collection remove

Parameters:

Parameter
Description

(positional)

Collection UID or name (case-insensitive).

Examples:

DotNet SDK

Function:

Power Commander

Command: Remove-KeeperEpmCollection

Alias: kepm-collection-delete

Parameters:

Parameter
Description

-CollectionUidOrName

Collection UID or name (case-insensitive).

-Force

Skip confirmation prompt before delete.

Examples:

Python CLI

Command: pedm collection delete <collection> [collection...]

Aliases: pedm c delete

Flags:

Flag
Description

-f, --force

Do not prompt for confirmation

collection

Collection UID or name, or @orphan_resource (required, can specify multiple)

Examples:

Python SDK

Function:

Collection Connect Command

Link entities (agents, policies, or other collections) to a collection. This command establishes relationships between collections and PEDM entities for policy filtering and organisation.

DotNet CLI

Command: epm-collection connect

Parameters:

Parameter
Description

(positional)

Collection UID or name (case-insensitive).

--link-type

Type of link: agent, policy, or collection.

--link

One or more UIDs or names to link.

Examples:

DotNet SDK

Function:

Power Commander

Command: Connect-KeeperEpmCollection

Alias: kepm-collection-connect

Parameters:

Parameter
Description

-CollectionUidOrName

Collection UID or name (case-insensitive).

-LinkType

Type of link: agent, policy, or collection.

-LinkUid

One or more UIDs or names to link.

Example:

Python CLI

Command: pedm collection connect <links> [links...]

Aliases: pedm c connect

Flags:

Flag
Description

-c, --collection

Parent collection UID or name (required)

--link-type

Type of link - agent, policy, or collection (required)

links

Link UIDs or names (required, can specify multiple)

Example:

Python SDK

Function:

Collection Disconnect Command

Remove links between a collection and its associated entities. This command unlinks agents, policies, or collections from a parent collection without deleting the entities themselves.

DotNet CLI

Command: epm-collection disconnect

Parameters:

Parameter
Description

(positional)

Collection UID or name (case-insensitive).

--link

One or more link UIDs to disconnect.

-f, --force

Skip confirmation prompt.

Example:

DotNet SDK

Function:

Power Commander

Command: Disconnect-KeeperEpmCollection

Alias: kepm-collection-disconnect

Parameters:

Parameter
Description

-CollectionUidOrName

Collection UID or name (case-insensitive).

-LinkUid

One or more link UIDs to disconnect.

-Force

Skip confirmation prompt.

Examples:

Python CLI

Command: pedm collection disconnect <links> [links...]

Aliases: pedm c disconnect

Flags:

Flag
Description

-c, --collection

Parent collection UID or name (required)

-f, --force

Do not prompt for confirmation

links

UIDs to unlink (required, can specify multiple)

Example:

Python SDK

Function:

Collection Wipe Out Command

Remove all collections of a specified type from the system. This command is useful for bulk cleanup operations but should be used with caution as it permanently deletes multiple collections.

DotNet CLI

Command: epm-collection wipe-out

Parameters:

Parameter
Description

--type

Collection type to wipe (1=OS Build, 2=Application, 3=User Account, 4=Group Account, 202=OS Version).

Collection Types Reference:

Value
Name

1

OS Build

2

Application

3

User Account

4

Group Account

202

OS Version

Example:

DotNet SDK

Function:

Power Commander

Command: Remove-KeeperEpmCollectionsByType

Alias: kepm-collection-wipeout

Parameters:

Parameter
Description

-CollectionType

Collection type to wipe (1=OS Build, 2=Application, 3=User Account, 4=Group Account, 202=OS Version).

-Force

Skip confirmation prompt.

Example:

Python CLI

Command: pedm collection wipe-out

Aliases: pedm c wipe-out

Flags:

Flag
Description

--type

Collection type to wipe out (integer)

Example:

Python SDK

Function:

Last updated