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

[member] Word PDF XPS XML Send Us a Sign! (Contact Us!) Show More Info This article has [wcount] total words. Read More …

Configuring Let’s Encrypt TLS Certificates

[member] Word PDF XPS XML Send Us a Sign! (Contact Us!) Show More Info This article has [wcount] total words. 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 …

SSH X-Forwarding (a more secure alternative to VNC)

X is a popular window system for Unix/Linux workstations (similar to explorer.exe for Windows systems), and one of its best features is its transparency. A great feature about using X is that you can run remote X applications that open their windows on your local display (and vice versa, running local applications on remote displays). Read More …