Skip to content

Instantly share code, notes, and snippets.

@pspete
Last active October 5, 2023 21:27
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pspete/75705a4c2a63b5196f8b97ee3605957c to your computer and use it in GitHub Desktop.
Save pspete/75705a4c2a63b5196f8b97ee3605957c to your computer and use it in GitHub Desktop.
Using the psPAS module - Get all connection components for a platform in CyberArk PAS.
Get-PASPlatform | # Get all platforms
Where-Object { $PSItem.PlatformId -eq 'WinDomain' } | # Filter specific platform
Select-Object -ExpandProperty Details | # Get the platform details
Get-PASPlatformPSMConfig | # Get the PSM Config for the Platform
Select-Object -ExpandProperty PSMConnectors # Output the connectors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment