Hello,
Im a newbie around Powershell commands and im startin as a AD administartor. Im having trouble to put together these two commands + exporting them. I need to list all users with a1 at the start of their name + add their Enabled status + add their description and then export it into separate columns in excel. Can anyone help me with this please?
Get-ADUser -Filter 'Name -like "a1*"'-Property Enabled | FT Name, Enabled -Autosize
Get-ADUser -Filter 'Name -like "a1*"' -Properties Description | Format-Table Name,Description