Product: PowerShell Universal
Version: 2.9.1
After changing environment from default to PS5.1 (to get access Active Directory module) I’m seeing this problem with cache variables…
Mar 10, 2022 2:34 PM Startup: at , C:*******\Repository\powerutils.ps1: line 71
at , : line 1
Mar 10, 2022 2:34 PM Startup: Cannot find drive. A drive with the name ‘cache’ does not exist.
simple $cache:colorSecondary = '#17a4da'
at line 71
Do these only work with the integrated environment? And if so, what’s the best way to import the ActiveDirectory module into the integrated environment? I tried adding it to the Modules field in the Environments section in the Admin screen - no luck though.
I’m using the $session:varName scope successfully in the same dashboard (2.9.1)
Cheers!
Steve.