Error details: The 'Get-ChildItem' command was found in the module 'Microsoft.PowerShell.Management', but the module could not be loaded.
There is no error displayed when admin tries to load the same module directly from PowerShell (Import-Module Microsoft.PowerShell.Management)
Attempt to load the same module using Network Service* account fails with the Access Denied error.
Steps to test with Network Service account:
Download PsExec tool from Microsoft website and copy it to C:\Temp: https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
Open Command Prompt using "Run as administrator", navigate to C:\Temp, then execute the below command to elevate the PowerShell with Network Service account:
PsExec -i -u "NT AUTHORITY\NETWORK SERVICE" powershell.exe
Try to import modules using cmdlet:
Import-Module Microsoft.PowerShell.Management
Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.
Invalid / not accessible paths added to the PSModulePath environment variable.
Check the variable PSModulePath and correct the paths if you find any invalid paths or locations that could have restricted access.
You can check variable from command line, execute command:
set PSModulePath
You can also check/modify the existing list from GUI:
System restart might be required in order to make sure that all processes load correct variables during startup.
When the Citrix administrator selects one of the power-managed catalogs in Web Studio and click on the details tab, there is an error displayed.
The same error appears when administrator attempts to create a new machine catalog.