---
updatedAt: 2025-08-26T19:29:27.000Z
agentTools:
  siteIndex: https://developer.n-able.com/llms.txt
  projectIndex: https://developer.n-able.com/n-able-cove/llms.txt
---

# Cove - ClientTool - Command Line Examples

```powershell PowerShell
# Requires -Version 5.1
Clear-Host

# This script is designed to monitor the status of the Backup Manager service and gather information about the configured datasources.
# This script uses the ClientTool.exe to gather various statuses and configurations from the Backup Manager.
# The results are formatted and output to the console.

# Define the path to the ClientTool executable
$clienttool = "C:\Program Files\Backup Manager\ClientTool.exe"

Function Get-BackupProcessState {
    $Script:BackupFP = "C:\Program Files\Backup Manager\BackupFP.exe"
    $Script:FunctionalProcess = get-process -name "BackupFP" -ea SilentlyContinue | where-object {$_.path -eq $BackupFP}
    if ($null -ne $FunctionalProcess) {
        Write-Output "`n[Backup Functional Process]"
        Write-Output "Functional Process Status | Running"
        Write-Output "Product Name              | $($Script:FunctionalProcess.product)"
        Write-Output "Product Version           | $($Script:FunctionalProcess.productversion)"
        Write-Output "Start Time                | $($Script:FunctionalProcess.starttime)"
        $Script:FunctionalProcessOutVal = 1
        $Script:FunctionalProcessOutTxt = "Running"
    }
    else {
        Write-Warning "`n[Backup Functional Process]"
        Write-Warning "Functional Process Status  | Not Running"
        $Script:FunctionalProcessOutVal = 0
        $Script:FunctionalProcessOutTxt = "Not Running"
        $global:failed = 1
    }

} ## Get Backup Functional Process State

Function Get-BackupServiceState {
    param (
        $ServiceRestartAttempts = 0 ## Maximum number of service restart attempts 
    )
    $RestartCounter = 1
    
    $script:StatusReportxml = "C:\ProgramData\MXB\Backup Manager\StatusReport.xml" 
    
    $Script:BackupService = get-service -name "Backup Service Controller" -ea SilentlyContinue

    Write-Output "`n[Backup Service Controller]"
    if ($BackupService.status -eq "Running"){
        $Script:BackupServiceOutVal = 1
        $Script:BackupServiceOutTxt = $($BackupService.status)
        Write-Output  "Service Status            | $BackupServiceOutTxt"
        Get-BackupProcessState
    }
    elseif (($BackupService.status -ne "Running") -and ($null -ne $BackupService.status )) {
        $Script:BackupServiceOutVal = 0
        $Script:BackupServiceOutTxt = $($BackupService.status)
        Write-Warning "Service Status   | $BackupServiceOutTxt"

        if(($BackupServiceOutTxt -eq "Stopped") -and ($RestartCounter -ge $ServiceRestartAttempts )) {
            Write-Warning "Backup Service Disabled or Failed to Restart after $ServiceRestartAttempts attempts"
            $global:failed = 1
            #Break
        }
        else {
            Write-Output "Start Services attempt $RestartCounter"
            Start-service -Name 'Backup Service Controller'
            $Script:RestartAttempts ++
            #debug Stop-Service -Name 'Backup Service Controller' -Force
            Start-Sleep -Seconds 60
            Get-BackupServiceState
        }
    }
    elseif (($null -eq $BackupService.status ) -and (Test-Path $script:StatusReportxml )) {
        $Script:BackupServiceOutVal = -2
        $Script:BackupServiceOutTxt = "Previously Installed"
        Write-Warning "Service Status    | $BackupServiceOutTxt"
        $global:failed = 1
        #Break
    }
    elseif ($null -eq $BackupService.status ){
        $Script:BackupServiceOutVal = -1
        $Script:BackupServiceOutTxt = "Not Installed"
        Write-Output "Service Status    | $BackupServiceOutTxt"
        #Break
    
    }

} ## Get Backup Service \ Process Status

Stop-Service -name "Backup Service Controller" -Force -ErrorAction SilentlyContinue

Stop-Process -Name BackupFP -Force -ErrorAction SilentlyContinue
# Stop the BackupFP process if it is running

Start-Sleep -Seconds 5

Get-BackupServiceState -ServiceRestartAttempts 0 | Out-Null

Start-Sleep -Seconds 5

Get-BackupServiceState -ServiceRestartAttempts 2

Start-Sleep -Seconds 5

# Check if the Backup Service is running
# If not, attempt to start it and check the status again.
# If the service is not running after the specified number of attempts, output a warning and set a global failure flag.
# If the service is running, gather information about the functional process and output relevant details.
# If the service is not installed, output a message indicating that.
# If the service is previously installed but not currently running, output a message indicating that.
# If the service is stopped, attempt to start it and check the status again.



Function FPactive {
    param (
        [switch]$debugFP, # Debug switch to enable detailed output
        [int]$MaxRetries = 5, # Maximum number of retries for suspended status
        [int]$RetryInterval = 10 # Interval in seconds between retries
    )
    
    $retrycounter = 0
    $script:clienttool = "C:\Program Files\Backup Manager\ClientTool.exe"
    if ($FunctionalProcess) {
        do {
            $BackupStatus = & $clienttool -machine-readable control.status.get
            if ($debugfp){Write-output "$backupstatus" }
            if ($BackupStatus -eq "Suspended") { 
                Start-Sleep -seconds $RetryInterval
                $retrycounter ++
            }else{
                [switch]$Script:FPactive=$true
            }
        } until (($BackupStatus -ne "Suspended") -or ($retrycounter -ge $MaxRetries))
        Return $FPactive.IsPresent
    }
} ## Check if the Backup Functional Process is active

if (FPactive) {
    ## Insert your command to execute if the Functional Process is active
} 

# Get the system information in JSON format and convert it to a PowerShell object
# Help command = & $clienttool help -c system-info.get
if (FPactive) { $systemInfo = & $clienttool -machine-readable system-info.get | ConvertFrom-Json }
$systemInfo | Format-list

# If the functional process is active, get the active datasources from ClientTool.exe
# Help command = & $clienttool help -c control.selection.list
Function Get-Datasources {
    if (FPactive) {
        $script:Datasources = & $clienttool -machine-readable control.selection.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t"| Select-Object -property Dsrc,Type -unique | ForEach-Object {
            If ($_.Type -eq "Inclusive") {Write-Output $_.Dsrc}
        }
        $Script:DataSourcesOutTxt = $Datasources -join ", "
        Write-Output "`n[Configured Datasources]"
        Write-Output "Data Sources              | $Script:DataSourcesOutTxt" 
    }
} 
Get-Datasources

# If the functional process is active, retrieve the application status using ClientTool.exe
# Help command = & $clienttool help -c control.application-status.get
if (FPactive) { $appstatus = & $clienttool -machine-readable control.application-status.get }
$appstatus

# Get the current Backup Manager Process status
# Help command = & $clienttool help -c control.status.get
if (FPactive) { $status = & $clienttool -machine-readable control.status.get }
$status

# Get initialization errors in JSON format and convert to PowerShell object
# Help command = & $clienttool help -c control.initialization-error.get
if (FPactive) { $initerror = & $clienttool -machine-readable control.initialization-error.get }
$initerror | convertfrom-json

# List archiving rules and format as table
# Help command = & $clienttool help -c control.archiving.list
if (FPactive) { $archiving = & $clienttool -machine-readable control.archiving.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$archiving | format-table

# List FileSystem datasource filters and join with "|"
# Help command = & $clienttool help -c control.filter.list
if (FPactive) { $filters = & $clienttool -machine-readable control.filter.list }
$filters -join "|"

# List MySQL server entries and format as table
# Help command = & $clienttool help -c control.mysqldb.list
if (FPactive) { $mysql = & $clienttool -machine-readable control.mysqldb.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$mysql | format-table

# List Network share entries and format as table
# Help command = & $clienttool help -c control.networkshare.list
if (FPactive) { $networkshares = & $clienttool -machine-readable control.networkshare.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$networkshares | format-table    

# List Oracle server entries and format as table
# Help command = & $clienttool help -c control.oracledb.list
if (FPactive) { $oracle = & $clienttool -machine-readable control.oracledb.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$oracle | format-table

# List all defined application settings and format as table
# Help command = & $clienttool help -c control.setting.list
if (FPactive) { $settings = & $clienttool -machine-readable control.setting.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$settings | format-table

# List backup selections and format as table
# Help command = & $clienttool help -c control.selection.list
if (FPactive) { $selections = & $clienttool -machine-readable control.selection.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$selections | format-table

# List backup selections and output separate tables for each DSRC
# Help command = & $clienttool help -c control.selection.list
if (FPactive) { $selections = & $clienttool -machine-readable control.selection.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
# Group selections by DSRC and output separate tables
$selections | Group-Object DSRC | ForEach-Object { Write-Output "`n[Datasource: $($_.Name)]"; $_.Group | Format-Table }

# List existing schedules and format as table
# Help command = & $clienttool help -c control.schedule.list
if (FPactive) { $schedules  = & $clienttool -machine-readable control.schedule.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$schedules | format-table

# List existing schedules where Actv = yes and format as table
# Help command = & $clienttool help -c control.schedule.list
if (FPactive) { $schedules  = & $clienttool -machine-readable control.schedule.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$schedules | Where-Object { $_.Actv -eq "yes" } | Format-Table

# List existing scripts and format as table
# Help command = & $clienttool help -c control.script.list
if (FPactive) { $scripts = & $clienttool -machine-readable control.script.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$scripts | format-table 

# List session errors for a specific datasource and format as table
# Help command = & $clienttool help -c control.session.error.list
if (FPactive) { $errors = & $clienttool -machine-readable control.session.error.list -delimiter "`t" -datasource $datasource | ConvertFrom-Csv -Delimiter "`t" }
$errors | Format-Table 

# Loop through each datasource in $datasources and list session errors
# Help command = & $clienttool help -c control.session.error.list
if (FPactive) {
    Get-Datasources ## Get the active datasources from ClientTool.exe
    foreach ($datasource in $datasources) {
        Write-Output "`n[Datasource: $datasource]"
        try {
            # List session errors for the current datasource and format as table
            $errors = & $clienttool -machine-readable control.session.error.list -delimiter "`t" -limit 1 -datasource $datasource | ConvertFrom-Csv -Delimiter "`t"
            $errors | Format-Table
            if ($errors -eq $null) {
                Write-Output "`nNo errors found for datasource: $datasource"
            }
        } catch {
            Write-Warning "Failed to retrieve session errors for datasource: $datasource"
        }
    }
}

# If the functional process is active, retrieve the session list using ClientTool.exe
# Filter backup and restore sessions by state, type, and datasource, while formating session dates and times
# Help command = & $clienttool help -c control.session.list
if (FPactive) { 
    # Define the states and types to include in the session list
    $IncludedStates = @("Completed", "Completed with Errors", "Failed", "Skipped", "Aborted")
    $IncludedTypes = @("Backup", "Restore") ## Backup or Restore
    # Define the datasources and included states for session filtering
    $DataSources = @("FileSystem", "NetworkShares", "MySql", "Oracle") 
    ## OR use $DataSource variable created from Get-Datasources function above
    $Sessions = & $clienttool -machine-readable control.session.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" | Select-Object * | Where-Object { 
        ($IncludedStates -contains $_.STATE) -and ## State
        ($includedTypes -contains $_.TYPE ) -and ## Backup or Restore
        ($DataSources -contains $_.DSRC) -and ## Datasource
        (($_.FLAGS -match "^A-") -or ($_.FLAGS -match "^--")) ## Only show active sessions
        } | ForEach-Object {
        $_.START = [datetime]::ParseExact($_.START, "yyyy-MM-dd HH:mm:ss", $null) ## Convert to DateTime
        $_.END = [datetime]::ParseExact($_.END, "yyyy-MM-dd HH:mm:ss", $null) ## Convert to DateTime
        $_ | Add-Member -MemberType NoteProperty -Name Weekday -Value $_.START.DayOfWeek -PassThru ## Add Weekday property
    }
}
$sessions | Format-Table

# List 50 nodes (files) from the latest session for a specific datasource and format as table
# Help command = & $clienttool help -c control.session.node.list
$DataSource = "FileSystem"
if (FPactive) { $Sessionnodes = & $clienttool -machine-readable control.session.node.list -delimiter "`t" -datasource $datasource | ConvertFrom-Csv -Delimiter "`t" }
$Sessionnodes[0..50] | Format-Table

# Export the first 50 nodes (files) from the latest session to XML format and select specific fields
# Help command = & $clienttool help -c control.session.node.export  
if (FPactive) { [xml]$sessionnodelist = & $clienttool -machine-readable control.session.node.export -format xml -datasource $datasource }
$sessionnodelist.session.nodes.node[0..50] | Select-Object path, type, change

# Export only changed nodes (files) from the latest session to XML format
# Help command = & $clienttool help -c control.session.node.export 
if (FPactive) { [xml]$sessionnodelist = & $clienttool -machine-readable control.session.node.export -format xml -datasource $datasource }
$sessionnodelist.session.nodes.node | Where-object { $_.change -ne "unchanged"} |  Select-Object path, type, change
$sessionnodelist.session.nodes.node | Where-object { $_.Type -eq "Folder"} |  Select-Object path, type, change

# Function to set LocalSpeedVault settings
# This function allows you to enable or disable LocalSpeedVault, set its location, and provide
# authentication credentials for network shares. It constructs a command to modify the settings
# using the ClientTool.exe and executes it. The function also outputs the current LocalSpeedVault
# settings in a formatted table.
# Parameters:
# - Enabled: Specifies whether to enable or disable LocalSpeedVault (On/Off).
# - Location: Specifies the path to the LocalSpeedVault location (drive letter or UNC path).
# - User: Specifies the username for network share authentication (optional).
# - Password: Specifies the password for network share authentication (optional).
# Example:
# Set-LocalSpeedVault -Enabled "On" -Location "Q:\LSV" 
# Set-LocalSpeedVault -Enabled "On" -Location "\\server\share" -User "username" -Password "password"
# Note: The function checks if the provided location is a valid drive letter path or a UNC path, but doesn't check if the path exists.
Function Set-LocalSpeedVault {
    Param (
        [Parameter(Mandatory=$false, HelpMessage="Set LocalSpeedVault to 'On' or 'Off'")]
        [ValidateSet("On", "Off")] [string]$Enabled, # String parameter to set LocalSpeedVault to 'On' or 'Off'

        [Parameter(Mandatory=$false)]
        [ValidateScript({
            if ($_ -match '^[c-zC-Z]:\\.*' -or $_ -match '^\\\\[a-zA-Z0-9._-]+\\[a-zA-Z0-9._-]+') {
            $true
            } else {
            throw "Invalid Location. Must be a drive letter path (e.g., 'Q:\LSV') or a UNC path (e.g., '\\server\share')."
            }
        })] [string]$Location, # Path to the LocalSpeedVault location

        [Parameter(Mandatory=$false)] [string]$User, # Username for network share authentication

        [Parameter(Mandatory=$false)] [string]$Password, # Password for network share authentication
        
        [Parameter(Mandatory=$false)] [switch]$ClearCredentials # Switch to clear credentials
    )
    if (FPactive) { 
        $clienttool = "C:\Program Files\Backup Manager\ClientTool.exe"

        if ($Enabled -eq "On") {
            # If Enabled is set to "On", set LSVEnabled to 1
            [int]$LSVEnabled = 1
        } else {
            # If Enabled is set to "Off" or not provided, set LSVEnabled to 0
            # Default to "Off" if not specified
            [int]$LSVEnabled = 0
        }

        # Construct the base command
        $command = "control.setting.modify -name LocalSpeedVaultEnabled -value $LSVEnabled"

        # Append additional parameters if provided
        if ($PSBoundParameters.ContainsKey('Location')) {
            $command += " -name LocalSpeedVaultLocation -value"
            $command += " $location"
        }

        If ($ClearCredentials) { $user = $null; $password = $null }

        if ($PSBoundParameters.ContainsKey('User')) {
            $command += " -name LocalSpeedVaultUser -value `"$User`""
        }

        if ($PSBoundParameters.ContainsKey('Password')) {
            $command += " -name LocalSpeedVaultPassword -value `"$Password`""
        }

        # Execute the constructed command
        try {
            start-process -FilePath $clienttool -ArgumentList $command
            Start-Sleep -Seconds 2
            Write-Output "LocalSpeedVault settings updated successfully."
        } catch {
            Write-Error "Failed to update LocalSpeedVault settings: $_"
            Write-Output $COMMAND
        }
        $settings = & $clienttool -machine-readable control.setting.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t"
        $settings | where-object { $_.Name -like "LocalSpeedVault*" } | format-table
        Write-warning "Please validate that provided paramaters applied correctly"
    }
}

# List LocalSpeedVault settings and format as table
# Help command = & $clienttool help -c control.setting.list

if (FPactive) { $lsvsettings = & $clienttool -machine-readable control.setting.list -delimiter "`t" | ConvertFrom-Csv -Delimiter "`t" }
$lsvsettings | where-object { $_.Name -like "LocalSpeedVault*" } | format-table

# Launch the Backup Manager User Interface
if (FPactive) { & $clienttool bm-ui.open }

# Start a backup for the specified datasource
$DataSource = "FileSystem"
if (FPactive) { 
    try {
        if ($null -ne $datasource) {
            Write-Output "Starting backup for datasource: $datasource"
            & $clienttool control.backup.start -datasource $datasource
            Write-Output "Backup started successfully for datasource: $datasource"
        } else {
            Write-Warning "Datasource is not specified. Please provide a valid datasource."
        }
    } catch {
        Write-Error "Failed to start backup for datasource: $datasource. Error: $_"
    }
}

# Start a backup for all detected datasources found by Get-Datasources function
if (FPactive) { 
    try {
        if ($null -ne $datasources) {
            foreach ($datasource in $datasources) {
                & $clienttool control.backup.start -datasource $datasource
            }
        } else {
            Write-Warning "Datasources are not specified. Please provide valid datasources."
        }
    } catch {
        Write-Error "Failed to start backup for datasources: $datasources. Error: $_"
    }
}

# Get backup functional process status
if (FPactive) { $fpstatus = & $clienttool control.status.get }
$fpstatus


<#
Client Tool Reference
https://documentation.n-able.com/covedataprotection/USERGUIDE/documentation/Content/backup-manager/backup-manager-guide/command-line.htm?Highlight=clienttool

Usage:
    ClientTool.exe [global arguments] command [arguments] ...
    Multiple commands could be given at once.
    To get help on a command, run ``ClientTool.exe help -command command.name''

Commands:
    bm-ui.open                         Open Backup Manager User Interface in a default browser
    & $clienttool help -c bm-ui.open
    & $clienttool bm-ui.open [-config-path]

    control.application-status.get     Print current application status.
    & $clienttool help -c control.application-status.get
    & $clienttool control.application-status.get [-path]

    control.archiving.add              Create new archiving rule.
    & $clienttool help -c control.archiving.add
    & $clienttool control.archiving.add -name [-active -datasources -day-of-week -days-of-month -months -time -weeks]

    control.archiving.list             List existing archiving rules.
    & $clienttool help -c control.archiving.list
    & $clienttool control.archiving.list [-delimiter -no-header]

    control.archiving.modify           Modify existing archiving rule.
    & $clienttool help -c control.archiving.modify
    & $clienttool control.archiving.modify -id [-active -datasources -day-of-week -days-of-month -months -name -time -weeks]

    control.archiving.remove           Remove existing archiving rule.
    & $clienttool help -c control.archiving.remove
    & $clienttool control.archiving.remove -id

    control.backup.start               Start backup.
    & $clienttool help -c control.backup.start
    & $clienttool control.backup.start [-datasource]

    control.dashboard.unsubscribe      Reset dashboard email.
    & $clienttool & $clienttool help -c control.dashboard.unsubscribe

    control.filter.list                List FileSystem datasource filters.
    & $clienttool help -c control.filter.list

    control.filter.modify              Modify filters for FileSystem datasource.
    & $clienttool help -c control.filter.modify
    & $clienttool control.filter.modify [-add -remove]

    control.initialization-error.get   Gets application initialization error in JSON format.
    & $clienttool help -c control.initialization-error.get
    & $clienttool control.initialization-error.get [-path]

    control.mysqldb.add                Create new MySQL server entry.
    & $clienttool help -c control.mysqldb.add
    & $clienttool control.mysqldb.add -name -password -server-port -user

    control.mysqldb.list               List existing MySQL server entries.
    & $clienttool help -c control.mysqldb.list
    & $clienttool control.mysqldb.list [-delimiter -no-header]

    control.mysqldb.modify             Modify existing MySQL server entry.
    & $clienttool help -c control.mysqldb.modify
    & $clienttool control.mysqldb.modify -name -server-port [-new-port -password -user]

    control.mysqldb.remove             Remove existing MySQL server entry.
    & $clienttool help -c control.mysqldb.remove
    & $clienttool control.mysqldb.remove -server-port

    control.networkshare.add           Create new network share entry.
    & $clienttool help -c control.networkshare.add
    & $clienttool control.networkshare.add -domain -path -user [-password]

    control.networkshare.list          List existing Network share entries.
    & $clienttool help -c control.networkshare.list
    & $clienttool control.networkshare.list [-delimiter -no-header]

    control.networkshare.modify        Modify existing Network share entry.
    & $clienttool help -c control.networkshare.modify
    & $clienttool control.networkshare.modify -path [-domain -new-path -password -user]

    control.networkshare.remove        Remove existing Network share entry.
    & $clienttool help -c control.networkshare.remove
    & $clienttool control.networkshare.remove -path

    control.oracledb.add               Create new Oracle server entry.
    & $clienttool help -c control.oracledb.add
    & $clienttool control.oracledb.add -local-backup-dir -name -password -user

    control.oracledb.list              List existing Oracle server entries.
    & $clienttool help -c control.oracledb.list
    & $clienttool control.oracledb.list [-delimiter -no-header]

    control.oracledb.modify            Modify existing Oracle server entry.
    & $clienttool help -c control.oracledb.modify
    & $clienttool control.oracledb.modify -name -rename [-local-backup-dir -password -user]

    control.oracledb.remove            Remove existing Oracle server entry.
    & $clienttool help -c control.oracledb.remove
    & $clienttool control.oracledb.remove -name

    control.restore.start              Start restore.
    & $clienttool help -c control.restore.start
    & $clienttool control.restore.start -datasource [-add-suffix -exclude -existing-files-restore-policy -outdated-files-restore-policy -restore-to -selection -session-search-policy -time]

    control.schedule.add               Create new schedule.
    & $clienttool help -c control.schedule.add
    & $clienttool control.schedule.add -name [-active -datasources -days -post-backup-action -pre-backup-action -time]

    control.schedule.list              List existing schedules.
    & $clienttool help -c control.schedule.list
    & $clienttool control.schedule.list [-delimiter -no-header]

    control.schedule.modify            Modify existing schedule.
    & $clienttool help -c control.schedule.modify
    & $clienttool control.schedule.modify -id [-active -datasources -days -name -post-backup-action -pre-backup-action -time]

    control.schedule.remove            Remove existing schedule.
    & $clienttool help -c control.schedule.remove
    & $clienttool control.schedule.remove -id

    control.script.add                 Create new script.
    & $clienttool help -c control.script.add
    & $clienttool control.script.add -content-file -name -password -user [-fail-session-on-error -timeout]

    control.script.list                List existing scripts.
    & $clienttool help -c control.script.list
    & $clienttool control.script.list [-delimiter -no-header]

    control.script.modify              Modify existing script.
    & $clienttool help -c control.script.modify
    & $clienttool control.script.modify -id -password -user [-content-file -fail-session-on-error -name -timeout]

    control.script.remove              Remove existing script.
    & $clienttool help -c control.script.remove
    & $clienttool control.script.remove -id

    control.selection.clear            Clear backup selections.
    & $clienttool help -c control.selection.clear
    & $clienttool control.selection.clear [-datasource]

    control.selection.list             List backup selections.
    & $clienttool help -c control.selection.list
    & $clienttool control.selection.list [-datasource -delimiter -no-header]

    control.selection.modify           Modify backup selections.
    & $clienttool help -c control.selection.modify
    & $clienttool control.selection.modify -datasource [-exclude -include -priority]

    control.session.abort              Abort backup or restore session.
    & $clienttool help -c control.session.abort

    control.session.error.list         List session errors.
    & $clienttool help -c control.session.error.list
    & $clienttool control.session.error.list -datasource [-delimiter -limit -no-header -time]

    control.session.list               List backup and restore sessions.
    & $clienttool help -c control.session.list
    & $clienttool control.session.list [-datasource -delimiter -no-header]

    control.session.node.export        Export session nodes to file.
    & $clienttool help -c control.session.node.export
    & $clienttool control.session.node.export -datasource [-format -output-file -time]

    control.session.node.list          List session nodes.
    & $clienttool help -c control.session.node.list
    & $clienttool control.session.node.list -datasource [-delimiter -limit -no-header -offset -removed -time]

    control.setting.list               List application settings.
    & $clienttool help -c control.setting.list
    & $clienttool control.setting.list [-delimiter -no-header -plugin -setting.name]

    control.setting.modify             Modify application settings.
    & $clienttool help -c control.setting.modify
    & $clienttool control.setting.modify -name -value

    control.status.get                 Print current program status.
    & $clienttool help -c control.status.get
    & $clienttool control.status.get [-path]

    fp                                 Setup connection to functional process.
    & $clienttool help -c fp
    & $clienttool fp [-host -password -port -timeout -username]

    help                               Print various help information.
    & $clienttool help -c help
    & $clienttool help [-arguments -command]

    in-agent-authentication-token.get  Gets InAgentAuthentication token which could be exchanged to BackupFP API visa using /jsonrpcv1 method InAgentAuthenticationTokenLogin.
    & $clienttool help -c in-agent-authentication-token.get
    & $clienttool in-agent-authentication-token.get -config-path

    password.requirements.check        Checks requirements for the provided password.
    & $clienttool help -c password.requirements.check
    & $clienttool password.requirements.check -password

    password.requirements.get          Retrieves the requirements for a valid password.
    & $clienttool help -c password.requirements.get

    system-info.get                    Gets SystemInfo (RAM/CPU) in JSON format.
    & $clienttool help -c system-info.get

Global arguments:
   -machine-readable
        Produce command output (if any) in machine-readable format.
   -non-interactive
        Do not ask questions (if any).
   -version
        Print program version and exit.


#>
```

# Summary



A collection of PowerShell wrappers, functions and script examples designed to use the Cove ClientTool command-line utility. These scripts automate tasks such as monitoring the Backup Manager service, managing backup processes, retrieving system and backup data, configuring LocalSpeedVault settings, and executing various ClientTool commands for enhanced backup management and troubleshooting.