Books

Translate This Blog
-
Recent Posts
Top Posts
- Querying UDP Ports with PowerShell
- Changing Ownership of File or Folder Using PowerShell
- Retrieving a Registry Key LastWriteTime Using PowerShell
- Locating Mount Points Using PowerShell
- Creating a Table in Word Using PowerShell
- Speedy Ping using PowerShell
- PowerShell and WPF: Writing Data to a UI From a Different Runspace
- Using PowerShell Parameter Validation to Make Your Day Easier
- Checking for a TCP Listener Connection
- List All Files Regardless of 260 Character Path Restriction Using PowerShell and Robocopy
Archives
Categories
- .net
- api
- array
- background jobs
- binary
- book
- c#
- clock
- codeplex
- com object
- convert
- CTP
- database
- deep dive
- excel
- Favorites
- function
- groups
- guest blog
- hash table
- Internet Explorer
- ise
- mcpmag
- module
- MVP
- network
- news
- parameter
- patches
- performance
- pinvoke
- podcast
- port
- PoshChat
- poshpaig
- PoshRSJob
- poshwsus
- powercli
- powerscripting
- Powershell
- printers
- quickhits
- reflection
- regex
- registry
- Regular Expressions
- report
- resolution
- runspace
- runspaces
- scripting games 2012
- scripting games 2013
- scripting guy
- scripts
- SMO
- Speaker
- speaking
- SQL
- tcp
- tips
- tsql
- updates
- user group
- V3
- V4
- v5
- weather
- widget
- win32API
- winter scriting games 2014
- wmi
- word
- WPF
- wsus
- xaml
Tag Archives: pinvoke
Write to an Existing File Without Updating LastWriteTime or LastAccessTimestamps Using PowerShell
This little trick was something I stumbled upon while attempting to help solve an issue with a file scan that was about to take place. We wanted to know the last time a file was accessed and build out a … Continue reading
Converting Bytes To The Largest Type Using P/Invoke
A good while back I wrote an article (one of my first) that showed a way to convert the raw bytes of a file or anything for that matter into the upper most value. For instance, if you had 100240 … Continue reading