# Executing a Client-Side Script-Based Verification

## What

The "verify" option of the fwGUI client application allows you to run a "verify" from the client programmatically.

## When/Why

We are going to use this option whenever we want to get "immediate" feedback from a client. For instance, as a post-installation script, calling a verify would immediately make the client report updated inventory rather than waiting (up to 24 hours, default) for the next "regular" verify.

## How

The verification is called as a command-line option to the fwcld app on either a Windows or macOS client as follows. The first table is for FileWave 16.0.4+ and the second table is for 15.5.x and below. Please note that 16.0.0 through 16.0.3 did not have this command.

<table id="bkmrk-%C2%A0-windows-client-mac" style="width: 124.198%;"><tbody><tr style="background-color: rgb(251, 238, 184);"><td style="width: 15.8522%;"> </td><td style="width: 40.4052%;">**Windows Client**</td><td style="width: 43.7426%;">**macOS Client**</td></tr><tr><td style="width: 15.8522%;">**Path to FileWaveKiosk:**</td><td style="width: 40.4052%;">"C:\\Program Files\\FileWave\\client\\"</td><td style="width: 43.7426%;"><span class="s1">/usr/local/sbin/FileWave.app/Contents/MacOS/</span>

</td></tr><tr><td style="width: 15.8522%;">**App to call:**</td><td style="width: 40.4052%;">fwcld.exe</td><td style="width: 43.7426%;">fwcld</td></tr><tr><td style="width: 15.8522%;">**Command Line options:**</td><td style="width: 40.4052%;">--verify  
  
*Sends a verification w/o user notification*</td><td style="width: 43.7426%;">--verify  
  
*Sends a verification w/o user notification*</td></tr><tr><td style="width: 15.8522%;">**Script examples:**</td><td style="width: 40.4052%;">**Windows Batch Example**  
  
```powershell
@echo off
 
"C:\Program Files\FileWave\client\fwcld.exe" --verify
 
exit 0
```

</td><td style="width: 43.7426%;">**macOS Bash Example**  
  
```shell
#!/bin/bash
 
/usr/local/bin/FileWave.app/Contents/MacOS/fwcld --verify
 
exit 0
```

</td></tr></tbody></table>

On FileWave version 15.5.x or lower these are the paths and executables. This is being left here so to document that the command changed on Windows between 15.4.2 and 15.5.0 and then in 16.0.0 the old Kiosk was removed and so in 16.0.3 the verify command was brought in to the new Kiosk as mentioned above;

<table id="bkmrk-%C2%A0-windows-client-mac-1" style="width: 124.198%;"><tbody><tr style="background-color: rgb(251, 238, 184);"><td style="width: 15.8522%;"> </td><td style="width: 40.4052%;">**Windows Client**</td><td style="width: 43.7426%;">**macOS Client**</td></tr><tr><td style="width: 15.8522%;">**Path to fwGUI**</td><td style="width: 40.4052%;">"C:\\Program Files\\FileWave\\client\\kiosk\\"</td><td style="width: 43.7426%;">/usr/local/sbin/FileWave.app/Contents/Resources/</td></tr><tr><td style="width: 15.8522%;">**App to call:**</td><td style="width: 40.4052%;">fwGUI.exe</td><td style="width: 43.7426%;">fwGUI.app</td></tr><tr><td style="width: 15.8522%;">**Command Line options:**</td><td style="width: 40.4052%;">--verify  
  
*Sends a verification (w/dialog by default...useful for troubleshooting)*</td><td style="width: 43.7426%;">--verify  
  
*Sends a verification (w/dialog by default...useful for troubleshooting)*</td></tr><tr><td style="width: 15.8522%;"> </td><td style="width: 40.4052%;">--silent  
  
*Used with --verify, sends verification without user dialog*</td><td style="width: 43.7426%;">--silent  
  
*Used with --verify, sends verification without user dialog*</td></tr><tr><td style="width: 15.8522%;">**Script examples:**</td><td style="width: 40.4052%;">**Windows Batch Example (FW 15.5.x)**  
  
```powershell
@echo off
 
"C:\Program Files\FileWave\client\fwGUI.exe" --verify --silent
 
exit 0
```

</td><td style="width: 43.7426%;">**macOS Bash Example**  
  
```shell
#!/bin/bash
 
/usr/local/sbin/FileWave.app/Contents/Resources/fwGUI.app/Contents/MacOS/fwGUI --verify --silent
 
exit 0
```

</td></tr></tbody></table>

## Related Content

- You can change the default 24h by adjusting the "File Check Interval" in a Superprefs - [Creating a Superprefs Fileset](https://kb.filewave.com/books/filewave-client/page/superprefs-fileset "Creating a Superprefs Fileset")