Powershell – How to use Transcripts to keep history of commands and output

The primary tool for logging Powershell activity has been the Start-Transcript cmdlet. Simply enter this cmdlet followed by a path and filename for the log file that you want to create. PowerShell will populate the log file with every subsequent command that is entered. Read More …

Nginx – Password Protect Web Directories

Managers of web projects often need to protect their work one way or another. Often people ask how to password protect their website while it is still in development. On an Apache web server, it’s possible to password protect a directory using .htaccess and .htpasswd files. However, .htaccess files are not supported on Nginx. Read More …

Microsoft Edge – Open from Run or Command Prompt

As many (almost all) applications available on Microsoft Windows platforms can be called from Run command (as even from Command Prompt and Powershell). Users who have been experiencing issues with the Start menu or Start menu search can use the Run command to launch their favorite programs, admin tools and settings. Read More …

CentOS / RHEL 7 – Regenerate UUID for Network Cards (Physical and Virtualized Environments)

Usually, when cloning VMs on virtualized systems (Hyper-V or VMware, for example) an issue could occur related to vNICs: a vNIC could be renamed and so no more the same of the old VMs (obviously). Read More …

Check mySQL and MariaDB Server Version

There are circumstances where you need to know the version of your database server, e.g., when upgrading the database or patching any known server vulnerabilities. There are a few ways to find out what the version of your MariaDB server is. Read More …

Enabling DNS Registration Refresh Interval

On Active Directory domains is very important that clients set automatically their own DNS names on authoritative DNS servers for 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 …

Windows 10 – Change Network Adapter Priorities

This article explains how to change the priority of the network adapter in Windows 10 so that they follow a specific order. If you have multiple network connections, you can change the priority, so the network you prefer will be the first one to use instead. Read More …