Category Archives: scripts

List All Files Regardless of 260 Character Path Restriction Using PowerShell and Robocopy

A common pain had by many System Administrators is when you are trying to recursively list all files and folders in a given path or even retrieve the total size of a folder. After waiting for a while in hopes … Continue reading

Posted in powershell, scripts | Tagged , , , | 48 Comments

Use PowerShell To Calculate the Hash of a File

I’m pretty sure that everyone has something similar to a hash calculator that has been written in PowerShell or some other language and I am no different. This is my take on a simple file hash calculator to determine the … Continue reading

Posted in powershell, scripts | Tagged , , , , , | 14 Comments

Get Available Constructors Using PowerShell

Working with PowerShell sometimes (or a lot of the time) involves using .Net types to create objects that can be used for more in depth scripting of various items. It is one thing to know the type that you need … Continue reading

Posted in powershell, scripts | Tagged , , | 4 Comments

Fun with PowerShell and Permutations

Somewhere a while back I was reading about working with trying to find all possible combinations of a given word, called Permutations. Since my main goal was to take a given word (or string) and cycle through all of the … Continue reading

Posted in powershell, scripts | Tagged , | 1 Comment