Issue with AD module

Hello!

Get-Aduser or any other AD module command doesn’t work for me, it is not recognized. Module is installed I can use it outside PSU and I can even see in the modules section in PSU. Tried it on 2 different machines, but it is the same. How can I get it work?

Product: PowerShell Universal
Version: 4.2.1.4

Which section do you see it in, on the Modules page?

I found it here:

OS is Windows Server 2016.

I could get it to work this way.
image
It would be nice to know why this works this way.

In the modules page see if you have the AD module installed for powershell 7.x. If not that is why it is working that way, the module is only available for 5.1.

1 Like