Forum Discussion
keeganjjk
Oct 09, 2024Copper Contributor
Getting messageUnable to find type [Microsoft.ActiveDirectory.Management.ADUser].
I am running a script that was posted online at theposhwolf.com that gets information regarding account lockouts in AD. This has been great for gaining insight about the nature of our account lockou...
MonirMS
Oct 11, 2024Copper Contributor
1. Open PowerShell as administrator.
2. Install RSAT AD for powershell using this -
Install-WindowsFeature -Name "RSAT-AD-PowerShell" -IncludeAllSubFeature
3. Execute the following command to verify the module is available, run the following:
Get-Module -Name ActiveDirectory -ListAvailableif you see the output like this the you're good to proceed -
3. Import the module using -
Import-Module -Name ActiveDirectory
Happy Life!!!