Script to remove all user profiles from a workstation except global user and admin

PauloValentim-2701 0 Reputation points
2023-02-10T15:53:19.5066667+00:00

Hello.

I'm looking for help with a script to remove user profiles that have logged into a workstation other than the local Admin and Global users.

Thanks.

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MotoX80 36,291 Reputation points
    2023-02-10T18:08:58.2+00:00

    Post the script you are running and explain what error you are getting or what you don't understand.

    There are plenty of examples on the internet.

    https://www.bing.com/search?q=powershell+remove+user+profiles

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.