Active Directory – Check if a DC is a Global Catalog

There are several ways to find out if a Domain Controller has the Global Catalog role enabled. In this article, Read More …

Powershell – Check and find the product GUID of an installed MSI setup

The product code is the unique GUID of identifying an application or product release; In other words, different versions and languages of Product must have different product codes. Also, ProductCode can be used to query feature state, and product state. For example, installer API “MsiQueryFeatureStateEx()” and “MsiQueryProductState()”, etc. Read More …

Linux – scp transfer files (passwordless) between systems

SSH (Secure SHELL) is a network protocol that is used to login into remote servers for execution of commands and programs. It is also used to transfer files from one computer to another computer over the network using secure copy (SCP) Protocol. Let’s see how to automate, passwordless, using Public/Private keys, file transfers between systems. Read More …

Powershell – Find computer name and domain

Sometimes it’s useful to know the computer name and domain you are working on. The first of the following commands returns the FQDN of the computer on the format whereas the second one returns a list of information about the system. Read More …

Ubuntu 18.04 – Restart network

Here are shown several ways how to restart networking from command line as well as from Graphical User Interface (GUI) on Ubuntu 18.04 Bionic Beaver distribution. Read More …

CentOS / RHEL 7 / Debian – Disable IPv6

If network troubleshooting leads you to believe there’s an issue with IPv6, you may need to shut down that protocol on your Linux machines. Since some hardware doesn’t take advantage of IPv6 (and most admins are still working with IPv4), a temporary and easy solution is to disable IPv6. Read More …

Linux – Make immutable a file

The chattr command is used by system administrators to restrict the users from changing a file in a particular way or even the administrator can by mistake delete a critical file because of a mis-typed command. But if the immutable flag is set, these mistakes can be avoided. Read More …

Powershell – Force gpupdate on all Domain Computers

Client computers update Group Policies every 90 minutes by default, in a functional and working domain. In this brief article Read More …

Configuring Let’s Encrypt TLS Certificates

Let’s Encrypt® has revolutionized the way to obtain, install and use TLS/SSL certificates for websites and other services. With its Read More …

Postfix – SMTP E-Mail Relay for Office 365

Postfix is a flexible mail server that is available on most Linux distribution. Though a full featured mail server, Postfix can also be used as a simple relay host to another mail server, or smart host. This tutorial will describe how to configure Postfix as a relay through Office 365 service, so using Exchange Online. Read More …