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

    Submit an openssl request file to a Microsoft PKI with certreq

    This procedure will show you how to generate a certificate with this following requirements : a linux web server : a certificate request file is generated with openssl command a Microsoft Certificate Authority that will issue a certificate Follow these

    shellandco_admin January 23, 2015 PKI, Security, Tips No Comments Read more

    Update multiple Bind zone files with sed

    Problem description: Your DNS infrastructure is running on Bind and the operating system is linux. You need to update a host record (A) “private”. The current ip address is : 10.1.0.22. The new ip address is 10.45.2.1 Solution: To check

    shellandco_admin January 22, 2015 News, Shell, Tips No Comments Read more

    Wmic tool to check Active Directory replications

    I have written a bash script based on the wmic tool (available here / procedure here) to check the status of the Active Directory replication between my domain controllers. The script performs these steps : list the domain controllers hostname+ip

    shellandco_admin January 12, 2015 Active Directory, Monitoring, PHP, Shell No Comments Read more

    Automatic security update process with unattended-upgrades

    If you use/administer a Debian/Ubuntu system, you can automate the security update process by using the program unattended-upgrades. This tool provides a simple way to manage this task. To install it : apt-get install unattended-upgrades dpkg-reconfigure unattended-upgrades After selecting “Yes”,

    shellandco_admin December 30, 2014 Security, Shell, Tips No Comments Read more

    Generates a full-memory minidump of a process

    The original source of this function is available on Github here You can use this function to generate a process dump file using Powershell. function Out-Minidump { [CmdletBinding()] Param ( [Parameter(Position = 0, Mandatory = $True, ValueFromPipeline = $True)] [System.Diagnostics.Process]

    shellandco_admin December 9, 2014 Operating System, Powershell, Service and process No Comments Read more

    Set PDC Emulator AnnounceFlag

    With this script, you will be able to set the registry AnnounceFlag to “0x5” on each PDC emulator on your forest The script performs these steps : List all PDC emulator on all domains in the current forest Read the

    shellandco_admin December 9, 2014 Active Directory, Powershell 1 Comment Read more

    Remove the SIDHistory information

    With this script, you will be able to remove the SID History on all user account in a specific Active Directory organizational unit. The script performs the following steps : list the user account in a specific OU retrieve the

    shellandco_admin December 8, 2014 Active Directory, Powershell No Comments Read more

    Create contacts from CSV

    Create contacts from CSV This script create contacts listed in a csv file with this layout : firstname;lastname;email The legacyExchangeDN attribute can be found using the adsiedit tool or going to attribute editor in ADUC (Active Directory Users and Computers)

    shellandco_admin October 31, 2014 Active Directory, Powershell No Comments Read more

    Create dynamic SCCM collections

    Create dynamic SCCM collections Purpose : This project allows you to create dynamic SCCM collections with specific maintenance windows. This project has been created to optimize Windows update installation on a VDI infrastructure. There are some requirements to optimize these

    shellandco_admin October 30, 2014 Powershell, Project, SCCM No Comments Read more

    Change a string in a text file

    Change a string in a text file This script lists all files in a specific folder and replace a string within these files The following cmdlets are used in the script : Get-childitem : list the files to update Get-content

    shellandco_admin October 30, 2014 Files and folders, 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.