Head and Tail Commands in Linux

The essence of all console utilities in GNU/Linux comes down to one simple rule: do one thing, but do it well. And commands like head and tail are no exception. With their help, the productivity of the terminal accelerates significantly. This article covers these two utilities. Their main task

Grep Command in Linux

Grep is another useful console utility that is very popular. It is easy to use, and at the same time has a wide flexibility and capabilities. The “grep” command in GNU/Linux comes with all distributions by default. The utility searches for parts of the text inside other texts without

How to Truncate SQL Server Transaction Logs?

Transaction logs on all SQL Server version (starting from SQL Server 2008 and up to SQL Server 2017) tend to grow over time, which can sometimes fill all the free disk space on the server. To avoid this, SQL Server has a transaction log truncate operation. Used to free

Find Command in Linux

GNU/Linux (in particular, the Bash console shell) allows you to search for files on a system with a variety of parameters that are not available in well-known Windows. The find command is responsible for this. Its popularity cannot be overestimated, since the speed of its work, combined with the

Destination Path Too Long Fix (when Moving/Copying a File)

If you are receiving an error Destination Path Too Long when trying to copy or move a file to a folder, try the quick trick below. The reason you are receiving the error is that File Explorer failed to copy/delete/rename any path-name longer than 256 characters.  The instructions below

How to Add, Edit and Remove Registry Keys Using Group Policy?

It is not always possible to use Group Policy (GPO) to manage some of the Windows and applications settings in the domain environment. The fact is that some settings can be applied only through the system registry. In an Active Directory domain, you can centrally manage registry keys on

RDP error: This computer can’t connect to the remote computer

Let’s try to figure out how to fix an RDP connection error This computer can’t connect to the remote computer, which occurs when you are trying to connect to a remote computer or Remote Desktop Server (RDS) using the built-in Windows RDP client. The problem looks like this: when

How to Create a GUI for PowerShell Scripts?

One of the significant drawbacks of PowerShell scripts, when used by users (not sysadmins or programmers), is its command-line interface. The result of the scripts is displayed in the PowerShell CLI console and it is not always convenient for the end user. However, Powershell is a powerful and modern

How to Login with a Local Windows Account Instead of Domain Account?

Let’s take a look on a little trick to login Windows with a local user account instead of a domain account. By default, when a username is entered on the Welcome Screen of a domain-joined machine, and there is also a local account with the same name, the domain

Add/Remove Calendar Permissions in Office 365/Exchange via PowerShell

This is a tutorial on how to view, add and remove mailbox calendar permissions on Office 365 (and on-premises Exchange) for your users via PowerShell (without changing permission from owner’s Outlook). For example, you need to give read permissions to room mailboxes for few users. You can grant room