Remove Multiple Local User Profiles

Welcome Forums General PowerShell Q&A Remove Multiple Local User Profiles

This topic contains 1 reply, has 2 voices, and was last updated by

1 year, 11 months ago.

  • Author
  • #69303

    Points: 0
    Rank: Member

    Good Day
    I have found some great code which great to remove user profiles and reg edit entries for one user at a time. But I have a few workstations that are common use ones. Some have up to 160 profiles on the workstation. What could be added to the script to delete all user profiles? The command i use is C:\Script\RemoveLocalUserProfile.ps1 -DeleteUnusedDay 30 -ExcludedUsers “Administrator”

    I am very new to Powershell and have been tasked with this, to clean up these workstations/laptop this way. Instead of reimaging of the workstations.

    If someone can point me in the right direction, any help would be greatly appreciated.



    The code is located – Here

  • #69310

    Points: 1,171
    Helping Hand
    Rank: Community Hero

    I've been told that DelProf is one of the easiest solutions for these kind of tasks.

The topic ‘Remove Multiple Local User Profiles’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort