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

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

Automatically install and renew Let’s Encrypt certificates

Automatically install and renew Let’s Encrypt certificates The Electronic Frontier Foundation is the leading nonprofit organization defending civil liberties in the digital world. Founded in 1990, EFF champions user privacy, free expression, and innovation through impact litigation, policy analysis, grassroots

shellandco_admin April 28, 2017 PKI, Python, Security, Web No Comments Read more

List domain controllers forest wide with OS version

This powershell script will allow you to get a list of your domain controllers and their operating system versions. This script uses information stored in the Active Directory database using the cmdlet get-adcomputer $list = (Get-ADForest).GlobalCatalogs $domainnames = (Get-ADForest).Domains $domainnames_arr

shellandco_admin April 10, 2017 Active Directory, Operating System, Powershell No Comments Read more

Retrieve Active Directory domain controller OS forest wide

Retrieve Active Directory domain controller OS forest wide This script uses the information stored in the Active Directory database to retrieve the domain controller FQDNs qnd their operating system. The script follow the steps below enumerate the domain names in

shellandco_admin February 13, 2017 Active Directory, Operating System, Powershell 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

Configure HKPK on Apache

What is HKPK The Wikipedia explanation is the following: HTTP Public Key Pinning (HPKP),[1] sometimes incorrectly known as certificate pinning, is a security mechanism which allows HTTPS websites to resist impersonation by attackers using mis-issued or otherwise fraudulent certificates. For

shellandco_admin January 16, 2017 PKI, Security, Web No 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
  • 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.