Make a copy of a service
This article describes how to make a copy of an existing service and its associated process using ZervicePoint PowerShell Management.
Set the ZervicePoint Powershell environment variables (ZPAPIURL, ZPAPIADFSHOST and ZPAPIAUDIENCEURI) if not already set
$env:ZPAPIURL = "https://zervicepoint.dev.local:30000/Store"
$env:ZPAPIADFSHOST = "authx.dev.zipper.se"
$env:ZPAPIAUDIENCEURI = "https://zervicepoint.dev.local/"
Import the ZervicePoint Powershell module
Acquire a security token from your ADFS server
Not required if you are using an API Key
Get the service you want to make a copy of, and its associated process
$service = Get-ZPService | Where { $_.Name -Eq "ServiceToCopy" }
$process = Get-ZPProcess -UniqueId $service.ProcessUniqueId