I want to use the Get-ADUser module to retrieve data from the AD domain.
Non-Administrator permissions in the directory are sufficient to perform that action.
Locally, Administrator permissions are necessary to install to install the module as part of Windows Remote Server Administration Tools like so:
Get-WindowsCapability -Name RSAT.ActiveDirectory* -Online | Add-WindowsCapability -Online
Is there a way to make the Get-ADUser module available to my local user without local Administrator permissions?
You have two options that worked for me:
Then you can
Import-Modulefrom this extracted/copied folder.You can even make the module work on Windows 10:
Microsoft.ActiveDirectory.Management.dllto module location. Normally it's installed with RSAT, you can get it from GAC on a server when AD module is installed.RequiredAssemblies="Microsoft.ActiveDirectory.ManagementtoRequiredAssemblies='.\Microsoft.ActiveDirectory.Management.dll'