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…

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…

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…

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…

Ansible – Copy a file to a remote node

You will find in the next days several posts with specific Ansible playbook for usual use case. The first post is to show how to copy a file or a folder from the node (nodeA) where you are running the…

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 :

This module is intended to simplify various PKI and…

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…

Citrix Receiver version live status

This script or rather these two command lines will output interesting information. In the current situation, the table will have two columns : one for the version number of the Citrix Receiver and another for the version count number. Like…

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…

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…

Social Media Auto Publish Powered By : XYZScripts.com
%d bloggers like this: