How to load & use Active Directory PowerShell modules

Please provide me with online references about how to load & use Server 2016 Active Directory PowerShell modules for AD administration, synchronization, troubleshooting, etc.
IT GuyNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Michael B. SmithManaging ConsultantCommented:
import-module ActiveDirectory
but only after you have loaded the module locally. on a server:

add-windowsfeature rsat-adds
If you are on a desktop operating system, the command is different.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IT GuyNetwork EngineerAuthor Commented:
What are the commands to load AD PowerShell administration within Windows 10?
0
oBdACommented:
On Windows 10 earlier than 1809, you need to install the RSAT tools first (Pro Enterprise, Education required). Since Windows 10 1809, it's finally an included Windows feature that can just be enabled, so you don't have to re-install it again with each new version.
The install will by default enable all RSAT tools that come with it. From then on, it's Import-module ActiveDirectory as usual (though since PS 3.0, PS will auto-load any module that's found in $env:PSModulePath if a cmdlet from one of these modules is referenced.
Remote Server Administration Tools for Windows 10
https://www.microsoft.com/en-us/download/details.aspx?id=45520
0
Michael B. SmithManaging ConsultantCommented:
On v1809, click on the start button, type "optional features" and click "Manage Optional Features". Then click "Add a Feature" and select "RSAT: Active Directory Domain Services..." and click "Install".

I expected to be able to use PowerShell for this process, but it appears that the relevant cmdlets (Get-WindowsOptionalFeature / Enable-WindowsOptionalFeature) don't work with the new RSAT modules. I'm investigating that.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.