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

    Cleanup your Group Policies with Powershell

    You will find in this post two little scripts to help you on cleaning your unused Group Policies (GPO). The first script will help you to identify the GPO linked to an OU but with a disabled link. The second

    shellandco_admin September 18, 2018 Active Directory, Powershell, Tips No Comments Read more

    Automatic HTTPS WinRM Listener creation

    In this post I will show you how to create a HTTPS WinRM listener that is using a certificate issued by your own MS PKI. The requirements are the following: – An Active Directory domain – An Enterprise MS PKI

    shellandco_admin June 6, 2018 Active Directory, Operating System, PKI, Powershell, Tips No Comments Read more

    Create a self-signed certificate on Windows server

    If you don’t have your own PKI and just want to perform some tests on a specific application or OS feature, you will probably need to generate a self-signed certificate. You can easily achieve this on Windows server without any

    shellandco_admin June 1, 2018 PKI, Powershell, Tips No Comments Read more

    Deploy Petya vaccination files on AD domain members

    I have written the following script to deploy Petya vaccination files on all Active Directory domain members. These files are simple text file deployed on the destination system folder C:\Windows. This technic has been discovered by Amit Serper and it

    shellandco_admin June 29, 2017 Active Directory, News, Powershell, Security, Tips No Comments Read more

    Get the free space on remote computer disks

    With this simple script, you will be able to get the free space available on the C: drive on a list of remote computers. I’m using WMI to request the remote computers. You can use two different ways for the

    shellandco_admin June 12, 2017 Files and folders, Operating System, Powershell, Tips No Comments Read more

    Logoff user session remotely

    I found a useful method to use WMI to logoff remotely a user session (on a workstation for example). It has been tested successfully on a Windows 7 computer. This WMI method can be found with the following command: gwmi

    shellandco_admin February 6, 2017 Operating System, Powershell, Tips No Comments Read more

    Configure OCSP Stappling

    What is OCSP OCSP is a protocol to check the revocation status of a certificate. This check is performed on the CA Implementation example found in this Wikipedia article: Alice and Bob have public key certificates issued by Ivan, the

    shellandco_admin January 31, 2017 News, Security, Tips No Comments Read more

    Online SSL configuration checker

    I have found a website to check my web server SSL configuration: SSL checker from High-Tech Bridge In the past, I was using the free tool provided by Qualys It seems to me the tool from by High-Tech Bridge gives

    shellandco_admin January 30, 2017 News, Security, Tips No Comments Read more

    WMIC command on Ubuntu 16.04 LTS

    I have written several months ago a post on how to install the wmic command on a linux system. Some additional steps are required now to get the wmic command on an Ubuntu 16.04 LTS server. Description Windows Management Instrumentation

    shellandco_admin January 19, 2017 Monitoring, Shell, Tips 24 Comments Read more

    Replace string in file with sed

    Some useful scenarios to use sed to replace string in file found here Replacing all occurrences of one string with another in all files in the current directory: These are for cases where you know that the directory contains only

    shellandco_admin January 6, 2017 Shell, Tips No Comments Read more
    • « Previous

    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.