Hi,
I have just re-activated PSS 2017 on a new machine and copied over a PSF I've been working on and all the ActiveDirectory cmdlets are greyed out in the form...is this common?
Everything functions as it should but it's quite annoying not having the intellisense
It's only the AD cmdlets that aren't working correctly everything else is fine.
PowerShell Studio 2017 v5.4.141
Cheers,
Dan
ActiveDirectory module greyed out
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: ActiveDirectory module greyed out
They have to be added t the cache. Try a cache rebuild.
The AD CmdLets won't work correctly if you are not in a domain.
Be sure to test the CmdLets at in the PS command shell - "powershell.exe".
The AD CmdLets won't work correctly if you are not in a domain.
Be sure to test the CmdLets at in the PS command shell - "powershell.exe".
Re: ActiveDirectory module greyed out
I have rebuilt the form several times but having no joy :/
Unless there is a specific way to do a "cache rebuild"
My machine is in a domain and the cmdlets work in the ISE etc.
If I verify the script it brings back the following:
User-Management.psf: -----------------------------------------------
User-Management.psf: Missing Modules:
User-Management.psf: -----------------------------------------------
User-Management.psf:
User-Management.psf: ActiveDirectory
Unless there is a specific way to do a "cache rebuild"
My machine is in a domain and the cmdlets work in the ISE etc.
If I verify the script it brings back the following:
User-Management.psf: -----------------------------------------------
User-Management.psf: Missing Modules:
User-Management.psf: -----------------------------------------------
User-Management.psf:
User-Management.psf: ActiveDirectory
Re: ActiveDirectory module greyed out
Now you know how to manage the cache. If you want to be sure all modules are loaded then do a full rebuild and PSS will find all installed modules and register them.