GDPRSCAN Installation and Operating Guide 1
Overview
The European Union's General Data Protection Regulation (GDPR) has been in effect since May 25, 2018.
GDPR doesn't just affect enterprises in the EU, though; theoretically at least, any entity that stores
personal information pertaining to an EU citizen – regardless of whether or not that entity does business
in the EU – is also subject to its provisions regarding personal data storage. If you're not sure about the
basics of GDPR, you might want to take a look at our 2017 newsletter article entitled "Ready for GDPR?
Test Your Knowledge, Get The Facts."
GDPR requires, among other things, that a company must be able to provide on demand a report in a
common machine-readable format (such as XML) which lists every instance of a customer's personal
data held by that company. For LISTSERV, that can be a tricky prospect, because personal data may be
held in list archives, in changelogs, and of course in subscription lists themselves.
In response, L-Soft developed a PowerShell script which, using either the LCMD.EXE or LCMDX.EXE
command interfaces that ship with the Windows version of LISTSERV, can pull the relevant data using
standard LISTSERV commands and methods, and produce an XML report containing the results. While
the script itself is Windows-specific, by using the LCMDX.EXE option (which communicates directly with
the server's TCPGUI port), it is possible to generate reports from any unix-based LISTSERV site as well, so
long as the site has the LISTSERV web interface enabled.
The script also works under PowerShell Core 6.1 and later, making it possible to run the script from Linux
and MacOS workstations by using the unix version of 'lcmdx'.
Downloading the script and associated files
The script is available for download from http://download.lsoft.com/downloads/gdprscan/gdprscan.zip
and comes bundled with copies of LCMD.EXE, LCMDX.EXE, and the source code for LCMDX (lcmdx.c) for
users' convenience. (We don't provide an executable copy of lcmdx for Linux/MacOS, because it's
usually best to compile and link the code locally against your existing libraries. We'll provide instructions
for doing that below.)
Minimum PowerShell Version Required
The GDPRSCAN requires at least PowerShell Version 3.0 on the machine from which it will be executed.
PowerShell 5.x or greater is preferred.
PowerShell Execution Policy
Note that the Microsoft Windows version of PowerShell has a default execution policy of “Restricted”,
that is, PowerShell accepts only interactive commands and will not run scripts. Typically this results in
an error something like the following:
PS E:\listserv\main> .\gdprscan.ps1
.\gdprscan.ps1 : File E:\listserv\main\gdprscan.ps1 cannot be loaded because running
scripts is disabled on this system. For more information, see about_Execution_Policies
at
http://go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ .\gdprscan.ps1