Top 25 list of Windows PowerShell commands for administrators

Getting started with PowerShell or just need a quick refresher? This tip lists the most common PowerShell commands, with details on when to use...

PowerShell – Detect an SSD Disk Using a Script

Here is a basic script that will output a simple onscreen message showing the type, bus and SSD status of a given drive letter. ;...

PowerShell – Comparing Two Arrays

Find difference in two array $Array1=@("John","Mark") $Array2=@("Mike","Paul","Bill","John","Mark") $ArrayDiff=$Array2 | Where {$Array1 -NotContains $_} Find common in two array $Array1=@("John","Mark") $Array2=@("Mike","Paul","Bill","John","Mark") $ArrayDiff=$Array2 | Where {$Array1 -Contains $_}