# 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.
**Windows Client** | **macOS Client** | |
**Path to FileWaveKiosk:** | "C:\\Program Files\\FileWave\\client\\" | /usr/local/sbin/FileWave.app/Contents/MacOS/ |
**App to call:** | fwcld.exe | fwcld |
**Command Line options:** | --verify *Sends a verification w/o user notification* | --verify *Sends a verification w/o user notification* |
**Script examples:** | **Windows Batch Example** ```powershell @echo off "C:\Program Files\FileWave\client\fwcld.exe" --verify exit 0 ``` | **macOS Bash Example** ```shell #!/bin/bash /usr/local/bin/FileWave.app/Contents/MacOS/fwcld --verify exit 0 ``` |
**Windows Client** | **macOS Client** | |
**Path to fwGUI** | "C:\\Program Files\\FileWave\\client\\kiosk\\" | /usr/local/sbin/FileWave.app/Contents/Resources/ |
**App to call:** | fwGUI.exe | fwGUI.app |
**Command Line options:** | --verify *Sends a verification (w/dialog by default...useful for troubleshooting)* | --verify *Sends a verification (w/dialog by default...useful for troubleshooting)* |
--silent *Used with --verify, sends verification without user dialog* | --silent *Used with --verify, sends verification without user dialog* | |
**Script examples:** | **Windows Batch Example (FW 15.5.x)** ```powershell @echo off "C:\Program Files\FileWave\client\fwGUI.exe" --verify --silent exit 0 ``` | **macOS Bash Example** ```shell #!/bin/bash /usr/local/sbin/FileWave.app/Contents/Resources/fwGUI.app/Contents/MacOS/fwGUI --verify --silent exit 0 ``` |