Auditing tool for PI Security is a framework to baseline the security configuration of your PI System. This framework is built as a PowerShell module containing cmdlets to perform different calls to collect the data from the security settings of specified PI System components.

piaudit

A series of PowerShell script files (*.psm1) form a single module named PI System Audit Module (or PISysAudit Module) once loaded. You will find one core script containing the collection logic and library scripts containing the validation logic for different topics such as best practices to harden the machine, PI Server, etc. The module exposes several cmdlets either used for the internal logic or the external interface with the end-user.

The PI System Audit Module (PISysAudit) can be executed locally or remotely and make use of existing command line utilities to perform many tasks. Note that the script requires PowerShell version 3.0 or later for the machine running the script, if a remote machine is targeted, that machine needs to have powershell 2.0 or later. This allows compatibility with many versions of the PI System. Full support for PowerShell version 2.0 on the client and target machine is documented as Issue #57.

Latest change 14/11/2016:
* Added export utility to dump the security configuration for the PI Data Archive to a folder in CSV files. Corrected issue where the SQL shell context is applied when the SQL Module is implicitly loaded.