Example scripts to remove/install TopView services using PowerShell
The TopView Service Manager command line application is a utility which provides the ability to list, install, and remove TopView services.
This is a particularly useful tool when changing the user account for each TopView service is necessary.
The utility's help information can be displayed by executing the application with no arguments:
TVServiceMgr.exe
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=""$_""" }
Related Articles
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 ...
TopView Service won't start - Running a large number of services
This answer is also included in the documentation shipped with TopView. How many TopView Services can I run? When Microsoft Windows starts, it reserves various areas of memory for tracking its resources. One of these is the relatively unknown desktop ...
TopView and Twilio migration to single IP address for Elastic SIP Trunking services
From Twilio's notice - IP Addresses for SIP Services | Twilio: Starting 26 September 2023 Twilio will begin migrating the media IPs and port ranges for Voice SDK calls in all regions to 168.86.128.0/18 and expanding the UDP port range to 10000-60000. ...
How to: Move the TopView DataPath
During the TopView installation, the user selects a location for the TopView DataPath. The TopView DataPath is a folder (and sub-folders) where the users of TopView have read/write permission. The DataPath stores configuration information, logs, ...
Move TopView to new computer
Moving TopView to a new machine will require a new license file. Please contact support@exele.com with your current license file to begin the process. See our article How to locate your TopView license to find the license. If you also intend to ...