How to Find Out Specifications of Server Using PowerShell

Get Server specs using PowerShell

When you are running a Windows server core version and you need to find out the specs of your server then this tutorial will show you how to do that with a small PowerShell script. Get Server Details with PowerShell Step 1. Open PowerShell with elevated privileges. Step 2. Execute the following two commands (as ... Read more

Why and How to Change the MAC Address of a Machine in Windows 10

Change Windows Mac Address

MAC address stands for Media Access Control address and is a series of numbers used to uniquely identify a device within a network. The MAC address is used when communicating over the network at the data link layer. By default, when you purchase a device, it has a MAC address assigned to it by the ... Read more

Check and Repair All MySQL Databases on Ubuntu

MySQL Optimize and Repair

The following command can be used to check and repair all MySQL databases on a Ubuntu or Debian Linux System. I've tested the commands on Ubuntu 20.04 and Debian 10. Repair MySQL databases on Ubuntu Linux sudo mysqlcheck --defaults-file=/etc/mysql/debian.cnf --auto-repair --optimize --all-databases MySQL database repair on Debian mysqlcheck --defaults-file=/etc/mysql/debian.cnf --auto-repair --optimize --all-databases The benefit of ... Read more

How to Read a File using PowerShell

If you are working as an admin on Windows Core Server and want to check the contents of a file, you can execute the following command: get-content C:\testfile.txt This command will display the contents of theĀ file using PowerShell. To save the contents in a variable, you can execute: $FileContent = get-content C:\testfile.txt To read the ... Read more