This one saved me a lot of work. We had a customer who had used their Description field for job titles due to the way their signature manager was configured. When we migrated them to Office 365 we had to get these moved into the Job Title field for Exclaimer to pull from. The below attributes can be amended to any AD attribute.
I use Foreach loops with scripts like these to prevent the script from taking an age to run and also reduce memory usage. I have found doing these without such loops can cause PowerShell to hang and white out.
$Users = Get-ADUser -Filter { Description -like ‘*’ } -SearchBase “DC=contoso,DC=local” -Properties *
Foreach ($User in $Users)
{
Write-Host Setting $User.DisplayName Job Title to $User.Description
Set-ADObject -Identity $User.DistinguishedName -Replace @{ Title = $User.Description }
}
Write-Host Done Thanks PCQuickTips.Net!
Муж на час в Москве вызвать ссылка
Муж на час в москве цены на услуги и ремонт, расценки мастера на час More info…
https://onhour.ru
onhour.ru
Мастер на час в Москве цена сайт
Муж на час в москве цены на услуги и ремонт, расценки мастера на час More info>>>
https://onhour.ru
onhour.ru
Муж на час в Москве расценки здесь
Муж на час в москве цены на услуги и ремонт, расценки мастера на час More info…
https://onhour.ru
onhour.ru
Мастер на час Москва цены на услуги !
Муж на час в москве цены на услуги и ремонт, расценки мастера на час More info…
https://onhour.ru
onhour.ru
Мастер на час Москва сайт web
Муж на час в москве цены на услуги и ремонт, расценки мастера на час Здесь>>>
https://onhour.ru
onhour.ru
Мастер на час в Москве сайт !..
Муж на час в москве цены на услуги и ремонт, расценки мастера на час Show more!
https://onhour.ru
onhour.ru