Go to your domain controller.
Open Powershell ISE
write:
Import-module ActiveDirectory
Get-ADUser -filter * -properties Company,EmailAddress| select Samaccountname, DisplayName, EmailAddress, Company
Save it as a text file "AD.ps1" for ex.
open a PS console (Elevated) and run
Set-executionPolicy Unrestricted
Accept the warning.
then navigate to the desktop
cd $env:userprofile\desktop
and execute the file
.\AD.ps1
Then continue by learning on the MVA
https://mva.microsoft.com/en-US/training-courses/getting-started-with-microsoft-powershell-8276?l=r54IrOWy_2304984382