From a command prompt on the server, change to the bin folder, run websenseping..

Code:
websenseping.exe -t 5 -m 2 -url www.url.com

or create a folder on your workstaion and copy the following from the bin folder..

btuc320.dll
Diagnostics.dll
libeay32.dll
log4cxx.dll
ssleay32.dll
stlport_vc646.dll
stlport_vc7146.dll
WebsensePing.exe
WFCBase.dll
WFCNetwork.dll

I copied these files to a local folder, C:\WebsensePing, then created a batchfile, wp.bat, in my local windows folder with the following

================

Code:
echo off
cls
C:\WebsensePing\websenseping.exe -t 5 -s 192.168.0.10 -m 2 -url %1
pause

================

so from a run box I can type..

Code:
wp www.url.com

and websense will return the category and disposition.

Just replace the ip address with your websnese server IP and if it’s on a firewall, open port 15868.