Solved

Deleting User Profiles

Posted on 2013-05-28
4
297 Views
Last Modified: 2013-06-12
Anyone,

Has anyone got a powershell script for deleteing user profiles from a Windows 2008 R2 server ? This will be a scheduled task.

Thanks
0
Comment
Question by:CaussyR
  • 2
4 Comments
 
LVL 11

Assisted Solution

by:Pradeep Dubey
Pradeep Dubey earned 250 total points
ID: 39201402
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39201415
This is a powershell script to delete user profiles if they are not a member of global security group

http://gallery.technet.microsoft.com/scriptcenter/Delete-User-Profile-if-not-6baeeb11
0
 
LVL 22

Expert Comment

by:Haresh Nikumbh
ID: 39201421
0
 
LVL 4

Accepted Solution

by:
Tushar_Darwatkar earned 250 total points
ID: 39203708
Yes the above mentioned command by Takecoffee from TechiBee is really kool.

Also you can use any tool like one below mentioned if you interested.

http://www.sepago.de/e/helge/2011/05/01/new-free-delprof2-user-profile-deletion-tool
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question