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

    Change contact email address from CSV

    Active Directory Quest Cmdlets are required : available here This script require a csv file (change.csv) that use the following template: contact-distinguishedname ; mailaddress The script read the csv file and change the email addresses of the contacts Script :

    shellandco_admin December 4, 2015 Active Directory, Powershell No Comments Read more

    What is a Cipher suite

    If you need to improve the security of your website for example, one of the step will be to turn on TLS on it. If you want to go further, one another step is to analyze the SSL/TLS on your

    shellandco_admin December 3, 2015 Security No Comments Read more

    Reuse a Powershell function

    Very interesting article found in the Technet Blog To use the functions contained in the include.ps1 script, you can (…) dot-source the script. This is seen in the useInclude.ps1 script. . “c:\fso\include.ps1” addone -intIn 3 addTwo -intIn 3 When the

    shellandco_admin December 3, 2015 Powershell 4 Comments Read more

    List user member of similar group name

    This script enumerate the members of similar group names using wildcards. In this example, the script enumerate members of the group names that contains “Dept”. The search process only a specific OU in Active Directory Script (with Microsoft Active Directory

    shellandco_admin December 3, 2015 Active Directory, Powershell No Comments Read more

    Ubuntu Sources List Generator

    Very useful tool to generate or re-generate your /etc/apt/sources.list file : Ubuntu Sources List Generator This site proposes a simple and intuitive interface. You can choose the following parameters : Country Release Branches Updates Partner Repos Extra Repos 3rd party

    shellandco_admin October 12, 2015 News No Comments Read more

    Change your Android device ID

    Change your Android device ID Simple and free, only one line can help you to change your Android device ID. No need to buy an app. One requirement : your device has to be rooted. The procedure is quite simple

    shellandco_admin September 28, 2015 Fun, Shell No Comments Read more

    Active Directory Dashboard

    The purpose of this project is to show how to use WMI and Grafana to build an Active Directory dashboard. The Python script uses the linux wmic client you can find here The software requirements are the following : a

    shellandco_admin August 28, 2015 Active Directory, Monitoring, Python 2 Comments Read more

    Change user CN to match the SamAccountName

    These scripts change the CN of the users located in the OU “OU=Users,DC=domain,DC=local” with the SamAccountname value. The first script uses the Microsoft Powershell cmdlets and the second one uses the Quest cmdlets. get-aduser -SearchRoot “OU=Users,DC=domain,DC=local” | % { Rename-ADObject

    shellandco_admin August 18, 2015 Active Directory, Powershell 2 Comments Read more

    Archive more than one million files located in one folder

    Archive more than one million files located in one folder Windows operating systems are not good candidates to host and manage million files located in only folder (no subfolders). If you try to list the content of the folder (using

    shellandco_admin August 17, 2015 Files and folders, Powershell No Comments Read more

    List user objects and count them

    There are several ways to list specific Active Directory objects. I will show you two ways : using the instance of the System.DirectoryServices.DirectoryEntry class or using the powershell cmdlet Get-ADObject $ldapQuery = “(&(objectCategory=user)(objectClass=user))” $de = new-object system.directoryservices.directoryentry $ads = new-object

    shellandco_admin August 17, 2015 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.