Avatar of Andy Doe
Andy Doe
 asked on

delete Orphaned Roaming Profiles using powershell

Hi does anyone have a powershell script that could be used to remove any orphaned (account Unknown) Roaming profiles from terminal servers.

the script must not delete any local profiles and should only remove profiles which show up as account unknown in the user profiles area. in windows server 2008 r2.
PowershellWindows OSWindows Server 2008Active Directory

Avatar of undefined
Last Comment
Pber

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Jose Gabriel Ortega Castro

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Pber

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Jose [MCSE] Ortega C (https:#a42361965)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Pber
Experts-Exchange Cleanup Volunteer
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck