Free English version of Windows PowerShell Course book

Frank Koch has translated his Windows PowerShell course book into English and made it available for free.  You can get the free book here   Arul Kumaravel Windows PowerShell Development Manager Microsoft Corporation.

How Can I Delete All the Duplicates in a Set of Processes But Keep the Oldest Process?

  This blog corresponds to the scripting guy column with the same title.   I am posting the script for doing the same with PowerShell 1: $processes = get-wmiobject -query “Select * from win32_process where name = ‘notepad.exe'” 2:   3: if ($processes.count -le 2 ) 4: { 5: return 6: } 7:   8: $datetarget…