For system, network and cloud administrators

How to change current PowerShell execution script policy

In order for PowerShell scripts to be run, a less restrictive policy must be set. Like “Remote signed”, for example. In order to change the current PowerShell execution script policy to remote signed for the current user, type:

Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

How to check current PowerShell script execution policy

In order to determine the current PowerShell script execution policy type:

Get-ExecutionPolicy -List


How to check your PowerShell version

Within a PowerShell session type:

$PSVersionTable.PSVersion

or

pwsh -ver

How to check for virtualization support in Linux?

It’s very useful to know if your hardware has support for accelerated and nested virtualization. You can check for virtualization support in Linux by using the following command:

lscpu | grep Virtualization


How to check your disk’s health in Linux using smartmontools?

How to check your disk's health in Linux using smartmontools?

What is smartmontools?

The smartmontools package contains two utility programs (smartctl and smartd) to control and monitor storage systems using the Self-Monitoring, Analysis and Reporting Technology System (SMART) built into most modern ATA/SATA, SCSI/SAS and NVMe disks. In many cases, these utilities will provide advanced warning of disk degradation and failure.

— Official description from smartmontools.org