Public/ps1/Job/Get-ApprxrPipelines.ps1
|
<#
.SYNOPSIS Retrieves all Apprxr pipeline names from the configuration. .DESCRIPTION This function extracts all pipeline names from the Apprxr configuration by searching for properties containing 'Sleep' and removing the suffix. .EXAMPLE Get-ApprxrPipelines .NOTES Used for listing all configured pipelines in the Apprxr system. #> function Get-ApprxrPipelines { # Get all configuration properties $configurations = Get-ApprxrConfiguration $allProperties = $configurations.PSObject.Properties | Select-Object -Expand Name # Filter for pipeline properties containing 'Sleep' $props = $allProperties | Where-Object {$_.contains("Sleep") } # Remove 'Sleep' suffix to get pipeline names if ($props) { $props.Replace("Sleep", "") } } |