InsZoom: Standardizing Table Names
When you receive an InsZoom backup, the table names may be prefixed with the firm's name like this:
In order to process the files correctly, use the following Powershell script to remove the firm's name from the prefix:
- $Search = "C:\TEMP\inszoom backup\"
- $Find = "SmithLaw_"
- $Replace = ""
- # Get all files starting with "prefix_"
- $files = Get-ChildItem -Path $Search -File | Where-Object { $_.Name -like "$($Find)*" }
- # Loop through each file and rename it
- foreach ($file in $files) {
- # Create new filename by removing "prefix_"
- $newName = $file.Name -replace "^$($Find)", "$($Replace)"
-
- # Rename the file
- try {
- Rename-Item -Path $file.FullName -NewName $newName -ErrorAction Stop
- Write-Host "Renamed: $($file.Name) -> $newName"
- }
- catch {
- Write-Host "Error renaming $($file.Name) to $($newName): $_"
- }
- }
Related Articles
InsZoom: Read Me First
Before working with InsZoom, please review the following articles: Standardizing InsZoom Table Names
PCLaw Backups: Generating a Table List
The following instructions will help you create a table list from PCLaw. Locate the PC Law Data To find out where the PC Law data exists, find a PC Law shortcut, right-click on it, and choose "Open File Location". Repeat this process until you are in ...
Tabs3 Backups: Creating a Table List
When connecting to TABS3, there are a few different database servers that may be used. To determine the correct database system, open the TABS3 System Configuration Utility: Then click Help > About System Config. You will then see something like this ...
Extracting single level lookup table data from NetDocuments Admin
NetDocuments provides the ability to download the lookup table metadata in a CSV format. From NetDocuments Admin interface. To accomplish this, do the following: 1. Select “Profile Attributes” from Navigation pane. 2. Select the Attribute Table, in ...
Extracting Parent/child lookup table data from NetDocuments Admin
NetDocuments provides the ability to download the lookup table metadata in a CSV format. From NetDocuments Admin interface. To accomplish this, do the following: 1. Select “Profile Attributes” from Navigation pane. 2. Select the Child Table, in this ...