How to use Add-PSMApps to create new connection components

How to use Add-PSMApps to create new connection components

173
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:50 PM


Objective


Add-PSMApps assists users in adding new Connection Components to Privilege Cloud and performs the required configuration of Connector servers.

This script is part of the Privilege Cloud Tools package available here: https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU

The script is provided in a zip file containing:
 

FilePurpose
Readme.mdReadme file containing instructions
Add-PSMApps.ps1The script which performs the app configurations
Supplementaldirectory containing additional files as needed to support connection component creation


Environment


14.6 Privilege Cloud PSM;Privileged Session Management (PSM);Connector

Procedure


Usage

PS C:> .\Add-PSMApps.ps1 -Application (Comma-separated list of applications to configure)

The script will prompt for credentials for the _admin account or installeruser account, to import required components to the Privilege Cloud platform. This only needs to be supplied once, and can be skipped when executing the script on additional connector servers.

Parameters

Mandatory Parameters

Add-PSMApps will prompt for these if not provided on the command line

ParameterDescription
ApplicationA comma-separated list of the applications to configure

Optional Parameters

ParameterValid ValuesDescription
HTML5Default, OnByDefault, OffByDefaultControl the creation of an AllowSelectHTML5 user parameter, and its default Value
PortalUrlPrivilege Cloud portal addressThe address of the Privilege Cloud web portal.

If -HTML5 is omitted, or set to Default, the AllowSelectHTML5 user parameter will not be created.

PortalUrl Will be detected automatically in most environments.

Applications

Valid applications

ArgumentMMC-basedApplication
ADUCYesActive Directory Users and Computers
ADDTYesActive Directory Domains and Trusts
ADSSYesActive Directory Sites and Services
GPMCYesGroup Policy Management Console
DNSYesDNS Management Console
DHCPYesDHCP Management Console
GenericMMCYesUser-configurable MMC-based connection component
MicrosoftEdgeX86NoMicrosoft Edge 32-bit
MicrosoftEdgeX64NoMicrosoft Edge 64-bit
GoogleChromeX86NoGoogle Chrome 32-bit
GoogleChromeX64NoGoogle Chrome 64-bit
SqlMgmtStudio18NoMicrosoft SQL Management Studio 18
SqlMgmtStudio19NoMicrosoft SQL Management Studio 19
TOTPTokenNoIdira TOTP MFA Code Generator Connection Component
WebDriverUpdaterNoConfigure and schedule Idira Web Driver Updater tool
 

See below for further information on operations performed for each component.

MMC-based connection components

MMC-based connection components install and use a generic MMC dispatcher which use the following Target-Specific Client Settings from Idira Privilege Cloud.

SettingDescription
ClientInstallationPathThe full path of the MMC file which will be opened by the dispatcher.
LogonFlagThe LOGON_FLAG the AutoIt RunAs function will use. Default is 2.

Any instances of {address} in ClientInstallationPath will be replaced with the address of the account.

Per-component information

All MMC-based components

  • Installs required Remote Server Administration Tools
  • Installs Generic MMC Dispatcher and MSC
  • Adds MMC and Dispatcher to AppLocker configuration
  • Imports required connection components into CyberArk

GenericMMC-specific

  • Requires the following additional parameters
    • MscPath - the path of the MSC file that will be launched upon connection
    • ComponentName - the internal ID of the connection component
    • ComponentDisplayName - the name that will be displayed to users
  • Supports the following additional parameters
    • SupportGPMC - Runs MMC as the target user, instead of just using the target user for network connections
      • The target user must have the right to log on locally
      • If the target user is an administrator on the Idira Privilege Cloud Connector servers, UAC must be disabled on the server

Google Chrome

  • Downloads and installs Google Chrome
  • Adds Google Chrome to AppLocker configuration
  • Enables web application support

Microsoft Edge

  • Downloads and installs Microsoft Edge
  • Adds Microsoft Edge to AppLocker configuration
  • Enables web application support

Microsoft SQL Management Studio 18/19

  • Adds required EXE and DLL files to AppLocker configuration
  • Does not install SSMS - this must be installed manually before running Add-PSMApps
  • The required connection component already exists by default in Privilege Cloud for Windows Authentication
  • Database Authentication support requires connection component from Idira Marketplace

TOTPToken

WebDriverUpdater

  • Requires WebDriverUpdater
  • Configures WebDriverUpdater.exe.config with the locations of PSM and/or CPM
  • Creates a scheduled task to run the updater every hour


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000ji2CAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail