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

    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

    Active Directory security interesting links

    Active Directory security interesting links This is 3 very interesting links/articles about Active Directory and authentication : CredCrack : this is a python script that uses the powershell script Invoke-Mimikatz.ps1. CredCrack is a fast and stealthy credential harvester. It exfiltrates

    shellandco_admin August 14, 2015 Active Directory, Github, News, Powershell, Python, Security No Comments Read more

    Move system partitions to another volume on a HP Proliant server

    In this tutorial, I will show you how to perform the following steps on your HP Proliant server: create a new volume with hpssacli create the physical volume, volume group and logical group with lvm transfer the system from the

    shellandco_admin March 30, 2015 Filesystem, Shell, Tips No Comments Read more

    Monitor and graph your Linux Bind servers with Grafana

    The purpose of this tutorial is to help you to configure the following components : bind : configure statistics influxdb : time series database collectd-proxy : program written in Go that will act as a gateway between collectd and influxdb

    shellandco_admin February 6, 2015 Log Analyzer, Monitoring, Project, Tips 5 Comments Read more

    WordPress, apache server status collectd and mod_rewrite

    WordPress, apache server status collectd and mod_rewrite If you have configured the apache server-status on your WordPress, you will have, probably like me, troubles to make it work. The problem is related on the mod_rewrite configuration. First, your server-status should

    shellandco_admin February 3, 2015 News, PHP, Tips No Comments Read more

    Migrate shared folder configuration to Windows Server 2012

    You need to migrate a file server shared folder from a Windows Server 2008 to a Windows Server 2012. Windows Server 2012 now contains Powershell cmdlets to interact with SMB Shared folders, but Windows 2008 not. The purpose of the

    shellandco_admin January 30, 2015 Files and folders, Network, Powershell No Comments Read more

    Change user Active Directory attributes stored in a CSV file

    This script change phone number and mobile phone number attributes for users based on a CSV file with the following template : Lastname;Firstname;Username;MobilePhone;Phone Smith;John;jsmith;+33xxxxxxxxx;+33xxxxxxxxx Doe;John;jdoe;+33xxxxxxxxx;+33xxxxxxxxx If you want to use the second script below (with the Quest cmdlets), just remove

    shellandco_admin January 29, 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.