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

    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

    List AD domain controller KDC certificates

    Kerberos uses certificates to encrypt communication between the Kerberos client and the Kerberos Key Distribution Center (KDC). If you’re domain controllers use certificate for KDC you can list them by runnning this script: $domains = (Get-ADForest).domains $dcs = (Get-ADForest).globalcatalogs $list

    shellandco_admin September 28, 2017 Active Directory, PKI, Powershell, Security No Comments Read more

    Certificate renewal with Powershell

    With the following function, it is possible to renew a Local machine certificate by providing the certificate thumbprint to the function. To simply get a certificate thumbprint, you can run this command: gci -path Cert:\LocalMachine\My | select Thumbprint If you

    shellandco_admin September 27, 2017 PKI, Powershell, Security 4 Comments Read more

    Revoke a certificate that has specific properties

    In the next days, I will show you how to perform specific tasks on your Microsoft PKI using Powershell. In this post, you will be able to revoke a certificate that matches your criteria. In the following example, I will

    shellandco_admin September 26, 2017 PKI, Powershell, Security No Comments Read more

    Play with the Windows Task Scheduler and XML

    You will find in this post two scripts to : create scheduled tasks on remote computers get scheduled tasks on remote computers These actions will be performed using xml and the COM object Schedule.Service. I will write another article on

    shellandco_admin July 3, 2017 Operating System, Powershell 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

    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
    • « 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 © 2023 shell{&}co. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.