Delete User Profiles

Hi.
Is there a script to delete chosen user profiles, including cached domain user profiles on windows 10 machines?

Thanks in advance.

Wayne

Hi @Hobs,

Thanks for your script request. We have asked our script developers to check and provide their feedback.

Kind Regards,
PremJK

Thank you for looking into this Prem.
I have found a couple of PowerShell scripts online but nothing that would run in Itarian.

Thanks again.

Kind Regards

Wayne

Hi @Hobs,

Please check this script created by our script developers to suffice your needs and provide your feedback
https://scripts.itarian.com/frontend/web/topic/script-to-delete-a-user-profile

Kind Regards,
PremJK

Thanks for this Prem.
I will try this out and let you know how I get on.

Kind Regards

Hobs

Hi Prem

I have tried the script but I cant get it to work.

I changed the “Username” to the username of the profile for deletion and also used that same username for the parameter.
I get this error in script logs.

2020/04/27 04:30:07 PM Failed
2020/04/27 04:30:05 PM Started Procedure parameters: itest string 1

Could you please let me know where I am going wrong.

Thank You

Kind Regards

Hobs

Hi @Hobs,

Our script developers updated the script, please check this out and provide your feedback.
https://scripts.itarian.com/frontend/web/topic/script-to-delete-a-user-profile

Kind Regards,
PremJK