Solved

Deleting User Profiles

Posted on 2013-05-28
4
300 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
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…
Suggested Courses

628 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