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 Azure Security event workspace configuration

    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 January 29, 2021September 16, 2022 Azure, Powershell, Uncategorized No Comments Read more

    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

    Copy files from Windows CIFS share

    In this post, I will show a playbook with different tasks to copy files from Windows CIFS shared folder to a Linux folder. First, the status and the prerequisites: I have 3 machines: The Ansible controller ansible_srv01 where the playbook

    shellandco_admin September 20, 2019 Ansible, Automation, Files and folders 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

    Play with group policy, XML and Powershell

    I will show you in this post simple examples to get informations on Active Directory group policies using Powershell. The main cmdlet I will use is the get-gporeport. With this cmdlet, you can export a Group Policy in XML format

    shellandco_admin July 16, 2019 Active Directory, Powershell No Comments Read more

    DNS forwarder setting healthcheck

    To keep your environment/infrastructure clean and up-to-date, it is important to perform some healthcheck. The following simple Powershell cmdlet will discover and test the configured DNS forwarders on your Active Directory Get-DnsServerForwarder > Gets forwarder configuration settings on a DNS

    shellandco_admin July 4, 2019 Active Directory, Powershell No Comments Read more

    OpenSSL useful commands

    In this post, you will find below some useful usage of the OpenSSL tool. This commands can be used on both Linux and Windows environment. For the Windows OS, I have choosen to use the pre-compiled packages at conan.io (version

    shellandco_admin July 3, 2019 PKI, Security, Shell No Comments Read more

    Ansible – Create a new directory on a CIFS shared folder

    In this post, I will show you how to create a directory on a CIFS shared folder hosted on the Windows machine This task can be achieved by configuring the WinRM listener on the Windows machine. In the playbook, we

    shellandco_admin June 24, 2019 Ansible, Automation, Files and folders 4 Comments Read more

    Ansible – Read Certificate request file with the module openssl_csr_info

    In this post, I will show you how to read a certificate request file and extract some informations. In the current case, the information is the Subject Alternate Name. If SAN have been specified in the CSR, it will be

    shellandco_admin June 20, 2019 Ansible, Automation, PKI 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
    • « 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 © 2023 shell{&}co. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.