Tag Archives: pinvoke

Guest Spot on Hey, Scripting Guy Talking PowerShell and USN Change Journal

Starting today and ending Wednesday, I will be guest blogging on the Hey, Scripting Guy! blog talking about working with the USN Change Journal using PowerShell. Be sure to check it out and leave your comments with any questions! Connect … Continue reading

Posted in powershell | Tagged , , , , | Leave a comment

Managing Privileges using PoshPrivilege

A recent project of mine has been to write a module to manage privileges on a local system. What I came up is a module called PoshPrivilege that allows you to not only look at what user rights are available … Continue reading

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

Retrieving a Registry Key LastWriteTime Using PowerShell

While navigating through the registry, you may have noticed that there is something missing from there that you normally see in other places such as the file system. That little thing is a timestamp that might tell you when a … Continue reading

Posted in powershell | Tagged , , , , , | 1 Comment

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

Guest Post on Hey, Scripting Guy! Talking PInvoke and PowerShell

Today my Hey, Scripting Guy! guest blog goes live. I am talking about using Pinvoke with PowerShell to handle the removal of files which may be locked by a process. Check it out and let me know what you think! … Continue reading

Posted in News, powershell | Tagged , , , | Leave a comment