Running report scripts

When you perform the steps described in this section, the report content displays as text in the PowerShell console window. To generate formatted reports, see “Formatting reports.”

To run a report script:

  1. Open the Centrify Access Module for PowerShell Reports.
  2. Verify you have permission to execute scripts.


    In most cases, the permission to execute scripts is restricted. You can use the Set‑ExecutionPolicy to allow execution. For example:

    Set-ExecutionPolicy Unrestricted

    For more information about execution policies and the options available, use the get‑help function.

  3. Verify that you are in the directory where the report scripts are located. For example:

    C:\Program Files\Centrify\PowerShell\Centrify.DirectControl.PowerShell\Reports
  4. Execute the report script. For example: