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

    Copy certificate to the Windows Services store

    Recently, I have encountered an issue with Active Directory, LDAPS and multiple Server authentication certificates in the default computer certificate store of my domain controllers. The LocalComputer certificate store contained one certificate for AD LDAPS and the other was dedicated

    shellandco_admin October 22, 2019February 20, 2020 Active Directory, PKI, Powershell No Comments Read more

    Create a certificate from a request file with Powershell

    The purpose of this post is to show you the different available Powershell cmdlets to get a certificate from a Microsoft PKI using a base64 certificate request file. The following command lines will uses the Powershell module PSPKI. To install

    shellandco_admin September 17, 2019 PKI, Powershell No Comments Read more

    Automate certificate revocation on a Microsoft PKI

    The purpose of this script is to automate your certificate revocation on a Microsoft PKI. The script uses the powershell module PSPKI. To install it, run the following command : PS> Install-Module -Name PSPKI This module is intended to simplify

    shellandco_admin October 23, 2018 PKI, Powershell No Comments Read more

    List installed certificate properties on remote computers

    I have written this script to list the installed certificates on remote computers. The script lists first the computer accounts that match a specific OS type. Currently, the computer account in the Active Directory domain that have a “Server” operating

    shellandco_admin July 13, 2018 Active Directory, PKI, Powershell 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

    List duplicated valid certificates on a MS PKI version 3

    Description One more version of the script provided some weeks ago. This is a minor update but it can be helpful. In that version, the duplicated valid certificates are listed and two options are shown : keep or revoke. It

    shellandco_admin March 16, 2018 News, PKI, Powershell, Security No Comments Read more

    Microsoft PKI: revoke expired certificates

    Microsoft PKI: revoke expired certificates Description I have written the script below to cleanup the CA database by revoking the expired certificates. First, the script performs three checks and then revoke the expired certificates: a valid certificate for the same

    shellandco_admin March 15, 2018 PKI, Powershell, Security No Comments Read more

    List duplicated valid certificates on a MS PKI

    List duplicated valid certificates on a MS PKI The following script will give you the possibility to list the valid certificates on your Active Directory PKI that are duplicated. By “duplicated”, I mean at least two valid certificates for the

    shellandco_admin October 2, 2017 PKI, Powershell, Security No Comments Read more

    Request and remove a certificate using Active Directory templates

    You can request from Powershell a certificate from your Active Directory PKI. In that case you will use the cmdlet Get-Certificate. If you already know the template you want to use (for example Enhanced Web Server), you can use this

    shellandco_admin September 29, 2017 PKI, Powershell, Security 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.