How To: Use PowerShell to Titan Server
-
How To: Use PowerShell to Titan Server
Question
How can I use PowerShell script to modify settings in my Titan NexGen Server?
Reasoning
Sometimes it is better to use PowerShell commands in executing changes in your Titan Server.
Answer
You can list and make changes in your Titan server via PowerShell.
Pre-requisites
- Titan service is running in your Windows Services.
- PowerShell is running the latest version, and run it as Administrator
- Install module and verify with the following:
- Install-Module TitanAPI
- Get-Module TitanAPI
Steps
- Open your PowerShell and check if you have TitanAPI module installed.
- To check if you already have the module installed:
Get-InstalledModule TitanAPI
- if the result is not the same as above, make sure to install Titan Api, check the Pre-requisites.
- To check what are the Functions available for TitanApi, execute the command below:
- Get-Command -Module TitanApi
- Here is the sample PowerShell scripts that is saved in GitHub - https://github.com/southrivertech/titanapi.pub/tree/main/sdk/powershell/samples