This script will list the files in the Recycle bin, which are older than 100 days. The recycle bin items are listed in the system where the script is running on. ForEach ($DriveLetter in Get-PSDrive -PSProvider FileSystem) { $DelPath =
Updated version of the script here This script allows you to delete remote Recycle Bin items (in a shared folder). It can be very useful and interesting if you run it on a file server where the user home drives
The wmic command on Linux : the main tool I’m using to monitor my Active Directory forest. This tool and the right bash shell script will give you the key to live monitor your Active Directory environment with low costs.
If you want to audit the Active Directory, this is the project you need : low cost Efficient search Bootstrap web design Export events easily in a csv format Visit now the project page here The resources used for this
With this script, you will be able to create a GUID hashtable for the schema classes, attributes and extended rights. It can be very useful in case of troubleshooting. You probably already see this kind of event in the security
With this script, you will be able to monitor the user object status in the Active Directory. The script performs these steps set the domain controller list : one dc per domain you want to retrieve the informations create an
You can use this script if you want to count the object types in the Active Directory forest. The script performs these steps: list the domain name in the current Active Directory forest get the Active Directory forest level mode
This script allows you to get the disk space used by the Recycle Bin items on a shared folder. It can be very useful and interesting if you run it on a file server where the user home drives are
This command will kill all the processes with a specific name : kill `ps -ef | grep process-name-to-kill | grep -v grep | awk ‘{print $2}’` References kill Manpage The command kill sends the specified signal to the specified process
This script set the correct security rights on an organizational unit to delegate the Reset password permission for a specific group. In this script I will use the following informations : – Authorize the group “Helpdesk_grp” to reset passwords –