Problem:When attempting to execute a Centrify DirectControl PowerShell command, the command takes a long time to respond or complete.
Cause:If the PSModulePath environment path is set to C:\, it will take a long time to load because it will be looking through the entire system directory.
To view the PSModulePath:
$env:PSModulePath
Resolution:Ensure the PSModulePath environment path is set to:
C:\Program\files\Centrify\PowerShell\Centrify.DirectControl.PowerShell\Reports