Skip to main content
Question

Poweshell script for creating EPM policies

  • December 18, 2024
  • 2 replies
  • 101 views

Forum|alt.badge.img+1

Is there anyone worked on some kind of powershell script to generate policies, application groups etc.?

Trying to create some policy automic policy making process. 

2 replies

  • BeyondTrust Employee
  • December 18, 2024

Hey ​@egemen, good question. One thing to note is that we currently don’t have an API to create things like application definitions just yet.

I’d highly recommend checking out our latest roadmap call for more information: Product Road Map: Endpoint Privilege Management


AdamS
BeyondTrust Employee
  • BeyondTrust Employee
  • December 23, 2024

As you mentioned PowerShell specifically, ​@egemen, I’d point you at this resource - Endpoint Privilege Management Powershell API reference guide. There are examples in that section for how to use PowerShell to manipulate a policy XML file.

As ​@Neil suggested, there isn’t yet an API for PM Cloud to allow policy editing so you’d have to manage downloading and uploading policies manually if you did want to go the PowerShell route.