Delete Local User Profiles Remotely using a PowerShell Script (DelProf2.exe)

In this post we are going to look at utilizing a tool called DelProf and a small PowerShell script to delete user profiles on workstations remotely. First we need to download the tool, it's just one executable file that can be found here The reason for using DelProf2.exe over the syntax's Remove-Item or leveraging WMI … Continue reading Delete Local User Profiles Remotely using a PowerShell Script (DelProf2.exe)

Restore AD Objects and Users using PowerShell

In this post we are going to look at the different ways you can restore Active Directory objects, such as User Accounts, Groups, Computers and OUs using Restore-ADObject in PowerShell. View Deleted Objects: Firstly this command will show you a list of all deleted objects: Get-ADObject -Filter 'isDeleted -eq $True -and name -ne "Deleted Objects"' … Continue reading Restore AD Objects and Users using PowerShell