ps1

Finding File Duplicates

In the previous tip we explained how the Get-FileHash cmdlet (new in PowerShell 5) can generate the unique MD5 hash for script files. Hashes can be...

read more

Creating MD5 File Hashes

MD5 file hashes uniquely identify file content and can be used to check whether file content is identical. In PowerShell 5, there is a new cmdlet...

read more

Creating Leading Zeros

Did you ever need to convert numbers into strings with leading zeros, for example to compose server names? Simply use PowerShell’s...

read more

Pipe Information to Excel

Here is a small yet very useful function that receives data from other cmdlets and sends them to Excel: function Out-Excel { param( $path =...

read more

Free Ebooks from Microsoft

Microsoft is giving away unlimited numbers of free ebooks on many different topics. Ebooks can be downloaded using a PowerShell script. Here are the...

read more

Removing Windows 10 Apps

PowerShell is probably the easiest way to get rid of preinstalled Windows 10 apps. If you know the name of a particular app that you want to remove,...

read more

Repairing Disk Drives

In the old days, disk repair was performed by chkdsk.exe. This still works. In Windows Server 2012 R2 and Windows 8.1, a new cmdlet called...

read more
1 35 36 37 38 39 128