Mar 11 2021 09:40 AM
I was hoping to find someone that could add the correct stanza's to my script.
I am disabling in bulk AD accounts and I need to add something to the description like when disabled.
This is the script I am using....
$File = Import-Csv -Path "termedusers.csv"
foreach
($employeeID in $termedusers)
{
Set-ADUser
-Identity $Name -Enabled $False
}
Mar 11 2021 11:39 PM