Enabling logging for cmdlets

For performance reasons, logging for cmdlets is disabled by default. To enable logging, you must modify the registry on the computer where you are running the Access Module for Windows PowerShell.

To enable logging:

  1. Run regedit to open the Registry Editor
  2. Select the HKEY_CURRENT_USER > Software > Centrify registry key.
  3. Right-click, then select New > Key and type CIMS.
  4. Select the new CIMS key, right-click, then select New > String Value with the name of LogPath.
  5. Specify the path to the log file as the value.

    For example, set the value to C: \Temp\Log

  6. Select the new CIMS key, right-click, then select New > DWORD (32-bit) Value with the name of TraceLevel.
  7. Specify the level of detail to write to the log file as the value.

    The valid settings are:

    • 0 to disable logging.
    • 1 to only log error messages.
    • 2 to log errors and warning messages.
    • 3 to log errors, warnings, and informational messages.
    • 4 to log all debugging and tracing messages.

    For example, set the value to 4 to enable detailed logging of all messages.