Tag Archives: c#

Building a Enum that Supports Bit Fields in PowerShell

I was working on a project recently that required me to have an Enum that allowed bit fields as opposed to the normal fields that we might deal with in our day to day endeavors with PowerShell. If you aren’t … Continue reading

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

Revisiting Get-FileTimestamp with Reflection

Ever since I wrote my function to locate a file’s MFT (ChangeTime) timestamp, I wanted to take on an extra challenge by taking all of the C# code that included using pinvoke and rewrite it using reflection in PowerShell after … Continue reading

Posted in powershell | Tagged , , , , , , | 2 Comments

Password Generator

During my time as a help desk/service center rep, we had a tool which would generate a password via a form and button and then was able to print out the form to give to each customer to take with … Continue reading

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