Installation

Prerequisites:

  • Powershell v5 (minimum), or PowerShell Core
  • CyberArk PAS REST API/Web Service
  • A user with which to authenticate, with appropriate Vault/Safe permissions.

psPAS is available to download from either the PowerShell Gallery or GitHub.

Choose one of the following methods to obtain & install the module:

This is the simplest & preferred method for installation of the module.

  1. Open a PowerShell prompt

  2. Execute the following command:

Install-Module -Name psPAS -Scope CurrentUser

PowerShell 5.0 or above must be used to download the module from the PowerShell Gallery.

Option 2: Manual Install

You can manually copy the module files to one of your powershell module folders.

Find your PowerShell Module Paths with the following command:


$env:PSModulePath.split(';')

The module files should be placed in a folder named psPAS in one of the listed locations

More: about_PSModulePath

There are multiple options for downloading the module files:

  • Download from the module PowerShell Gallery:
    • Run the PowerShell command Save-Module -Name psPAS -Path C:\temp
    • Copy the C:\temp\psPAS folder to your “Powershell Modules” directory of choice.

psPAS Release

  • Download the latest release
    • Unblock & Extract the archive
    • Rename the extracted psPAS-v#.#.# folder to psPAS
    • Copy the psPAS folder to your “Powershell Modules” directory of choice.

psPAS Branch

  • Download the master branch
    • Unblock & Extract the archive
    • Copy the psPAS (\<Archive Root>\psPAS-master\psPAS) folder to your “Powershell Modules” directory of choice.

Verification

Validate Install:


Get-Module -ListAvailable psPAS

Import the module:


Import-Module psPAS

List Module Commands:


Get-Command -Module psPAS

Get detailed information on specific commands:


Get-Help New-PASUser -Full

Updated: