Skip to content
This repository was archived by the owner on Sep 27, 2022. It is now read-only.

Install PowerShell Module

Fab Viguier edited this page Dec 7, 2020 · 10 revisions

Install PowerShell Module

The Centrify Platform PowerShell SDK is a PowerShell Script Module named Centrify.Platform.PowerShell delivered inside a folder of the same name. You can use it by importing the module into a PowerShell session using the Import-Module cmdlet.
Example:
Import-Module .\Centrify.Platform.PowerShell\Centrify.Platform.PowerShell.psm1

To make import of this module easier, it can be installed on a Windows system under the default PowerShell Module location, or by using the provided installation script.
Execute:
.\Install-CentrifyPlatformSDK.ps1

Note that installation script must be executed with local admin privileges as it will copy files under C:\Program Files\ and add entries to the PSModulePath environment variable.

If you run this script for the first time on a Windows system, it will automatically install the module for you. Otherwise follow on screen instruction to decide what operation to perform (re-install/upgrade, uninstall).

Clone this wiki locally