Skip to content
shell{&}co

shell{&}co

Menu

  • News
    • Bug and tips
  • Automation
    • Ansible
  • Scripts & Code
    • Perl
      • Network
    • PHP
    • Powershell
      • Active Directory
      • Citrix
      • Cluster
      • Database
      • Exchange
      • Files and folders
      • Hardware
      • Network
      • Operating System
      • PKI
      • SCCM
      • Service and process
      • Tips
      • VMWare
    • Python
      • Monitoring
      • Network
      • PKI
      • Ruby
      • Security
    • Shell
      • Backup
      • Filesystem
      • Image processing
      • Monitoring
      • Network
      • PKI
      • Process
      • Time
      • Virtualization
      • Web
  • Fun
  • Project
    • Github
    • Log Analyzer

    List the files in the Recycle bin, which are older than 100 days

    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 =

    shellandco_admin August 4, 2014 Files and folders, Powershell No Comments Read more

    Delete remote Recycle Bin items

    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

    shellandco_admin August 4, 2014 Files and folders, Powershell No Comments Read more

    Wmic command on Linux

    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.

    shellandco_admin July 14, 2014 Monitoring, Shell 1 Comment Read more

    Audit the Active Directory FREE

    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

    shellandco_admin July 11, 2014 Active Directory, Powershell, Project 2 Comments Read more

    Create a GUID hashtable for the schema classes, attributes and extended rights

    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

    shellandco_admin June 27, 2014 Active Directory, Powershell No Comments Read more

    Monitor the user object status in the Active Directory

    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

    shellandco_admin June 23, 2014 Active Directory, Powershell No Comments Read more

    Count the object types in the Active Directory forest

    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

    shellandco_admin June 23, 2014 Active Directory, Powershell No Comments Read more

    Get the disk space used by the Recycle Bin items

    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

    shellandco_admin June 19, 2014 Files and folders, Powershell No Comments Read more

    Kill all the processes with a specific name

    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

    shellandco_admin June 18, 2014 Process, Shell No Comments Read more

    Delegate the Reset password permission on OU

    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 –

    shellandco_admin June 18, 2014 Active Directory, Powershell No Comments Read more
    • « Previous
    • Next »

    Recent Posts

    • Get Azure Security event workspace configuration
    • Copy certificate to the Windows Services store
    • Copy files from Windows CIFS share
    • Create a certificate from a request file with Powershell
    • Ansible – Manage multi-threading in playbooks

    Recent Comments

    • shellandco_admin on Get GDI handles by process
    • tadalafil 20 mg on Get GDI handles by process
    • รับออกแบบโลโก้ on Playing with ACL on the Active Directory objects
    • ปืนสั้นแก๊ส on Audit the Active Directory FREE
    • XxGaaabrielxX on Fake update screens
    Copyright © 2025 shell{&}co. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.