0
0
PowerShellscripting~5 mins

AD module installation in PowerShell - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the PowerShell command to check if the Active Directory module is installed?
Use Get-Module -ListAvailable -Name ActiveDirectory to check if the AD module is installed on your system.
Click to reveal answer
intermediate
How do you install the Active Directory module on Windows 10 or later using PowerShell?
Run Install-WindowsFeature -Name RSAT-AD-PowerShell in an elevated PowerShell prompt to install the AD module on Windows Server. For Windows 10/11, install RSAT features via Settings or use Add-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0.
Click to reveal answer
beginner
What PowerShell command imports the Active Directory module into your session?
Use Import-Module ActiveDirectory to load the AD module so you can use its cmdlets in your current PowerShell session.
Click to reveal answer
beginner
Why do you need to run PowerShell as Administrator to install the AD module?
Installing system features like the AD module requires elevated permissions. Running PowerShell as Administrator gives you the rights to add Windows features.
Click to reveal answer
intermediate
What is the difference between RSAT and the Active Directory module in PowerShell?
RSAT (Remote Server Administration Tools) is a package that includes the Active Directory module and other tools. The AD module is part of RSAT and provides cmdlets to manage AD from PowerShell.
Click to reveal answer
Which PowerShell command installs the Active Directory module on Windows Server?
AAdd-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
BImport-Module ActiveDirectory
CGet-Module -ListAvailable -Name ActiveDirectory
DInstall-WindowsFeature -Name RSAT-AD-PowerShell
What command loads the Active Directory module into your current PowerShell session?
AInstall-WindowsFeature -Name RSAT-AD-PowerShell
BGet-Module -ListAvailable -Name ActiveDirectory
CImport-Module ActiveDirectory
DAdd-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
Which command checks if the Active Directory module is available on your system?
AGet-Module -ListAvailable -Name ActiveDirectory
BInstall-WindowsFeature -Name RSAT-AD-PowerShell
CAdd-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
DImport-Module ActiveDirectory
On Windows 10 or 11, how can you install the Active Directory module using PowerShell?
AAdd-WindowsCapability -Online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0
BImport-Module ActiveDirectory
CInstall-WindowsFeature -Name RSAT-AD-PowerShell
DGet-Module -ListAvailable -Name ActiveDirectory
Why must you run PowerShell as Administrator to install the AD module?
ATo access the internet
BTo have permission to install system features
CTo run scripts faster
DTo open the PowerShell window
Explain the steps to install and use the Active Directory module in PowerShell on a Windows 10 machine.
Think about checking availability, installing the right feature, and loading the module.
You got /4 concepts.
    Describe why the Active Directory module is part of RSAT and how it helps in managing AD.
    Consider the relationship between RSAT and the AD module.
    You got /4 concepts.