Bulk edit TopView Services

Bulk edit TopView Services

TopView provides a command line tool called the "TopView Service Manager" (tvservicemgr.exe) to query and manipulate the settings for TopView services.

This tool is useful when you want to list, remove, or install services with common settings for each service.

The TopView Service Manager can be used to perform bulk operations on TopView Engine Services when doing the same tasks from the Configurator would be tedious.

Example PowerShell scripts

These scripts are provided as is, with no guarantee of correct behavior, please verify that these will work for your system before executing them.

Assumptions:

  1. These scripts are run with proper access (e.g. PS is running as Administrator)
  2. The working directory is the TopView Program Path
  3. C:\ProgramData\Exele\TopView\CONFIG\” is the data path
The following script will remove existing TopView services:
.\TVServiceMgr.exe list | ForEach-Object { & .\TVServiceMgr.exe "remove $_" }

The following script will install all the services in the data path’s CONFIG folder:

Get-ChildItem C:\ProgramData\Exele\TopView\CONFIG\ -Filter *.cfg | Select-Object -ExpandProperty FullName | ForEach-Object { & tvservicemgr.exe "install --cfg=""$_""" }