2018/10/23 00:47:14
andy
Need assistance to have a powershell command to clear a specific attribute value for all users under an organization.. can you please help?
2018/10/24 01:10:37
HC Staff
Below is the sample command to clear a DesktopProfile attribute value
 
For single AD User:
Get-ADUser -Identity tony | Set-ADUser -Clear desktopProfile
 
Apply for all users under an OU:
Get-ADUser -Filter * -SearchBase ‘OU=OrganizationName,DC=lab13,DC=COM' | Set-ADUser -Clear desktopProfile
© 2026 APG vNext Invalid Version 5.5

Use My Existing Forum Account

Use My Social Media Account