Writing scripts that use Centrify Windows API calls
To handle Centrify tasks programmatically, you can write programs that call Centrify Windows API functions using any of the tools commonly used to write programs for Windows‑based operating environments. Some of the most common of these tools include VBScript, PowerShell, and Visual Studio (C#).
To illustrate using these tools, the following sections describe how to create and run a program that uses the Centrify objects to open a zone and lists all the users in it using VBScript and PowerShell. For more detailed examples of performing common tasks using these scripting languages, see the sample scripts included in the SDK package.