Skip to main content

PowerShell SDK

Prerequisite

Requires PowerShell 7+ (pwsh).

macOS (Homebrew):

brew install --cask powershell

If the Homebrew cask is unavailable, install the .pkg directly:

curl -sL "https://github.com/PowerShell/PowerShell/releases/download/v7.5.1/powershell-7.5.1-osx-arm64.pkg" -o /tmp/powershell.pkg
sudo installer -pkg /tmp/powershell.pkg -target /
rm /tmp/powershell.pkg

Linux: see Microsoft install docs.

Install

Install-Module -Name PSSailpoint -Scope CurrentUser

Confirm with "A" when prompted about PSGallery.

Additional modules:

Install-Module -Name PSSailpoint.V2024 -Scope CurrentUser -Force
Install-Module -Name PSSailpoint.Beta -Scope CurrentUser -Force

Run Example

just ps
# or manually: pwsh src/sdk_example.ps1