I am looking for a way to enumerate and close Pervasive Sql 11 sessions. I need to be able to write some code for this. I need to enumerate through the sessions and see what database they are connected to and close their session if it is pointing to the correct directory.
Does anyone have any idea of how to do this? .net, powershell, CMD line?