Running the PI Web API Admin Utility silently
- Last UpdatedMar 20, 2025
- 1 minute read
- PI System
- PI Web API 2023 SP1 Patch 1
- Developer
PI Web API configuration is primarily done through the PI Web API Admin Utility. See PI Web API configuration for additional information.
If necessary, configuration can be updated silently by running the utility through the command line and providing a configuration file.
The format and contents of the required configuration file can be found in the CONFIG_FILE section in PI Web API silent installation.
After the configuration file is ready, configuration can be run silently using the admin utility as follows:
-
Locate the admin utility in the PI Web API installation folder (C:\Program Files\PIPC\WebAPI by default). The utility is called OSIsoft.REST.Admin.exe.
-
Run the utility through the command line with the suppressUI flag and the file flag along with the path to the configuration file as follows:
>OSIsoft.REST.Admin.exe --file="{full path to configuration file}" --suppressUI=true
Alternatively you can use the abbreviated syntax below:
>OSIsoft.REST.Admin.exe -f "[full path to configuration file]" -s true