Se compare questo errore:
Get-ADUser : The term 'Get-ADUser' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
molto probabilmente sei su un server che non è un controller di dominio e non hai installato le estensioni PowerShell.
Per installarle:

PowerShell

Import-Module ServerManager
Add-WindowsFeature RSAT-AD-PowerShell
da come risultato

Text

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
True    No             Success        {Remote Server Administration Tools, A...
a questo punto il comando Get-ADUser è disponibile.
Tags:
Active Directory20 Errori120 PowerShell199 Windows Server20 Windows Server 20129
Potrebbe interessarti anche: