Powershell

Working with UTC Times

When working across language boundaries, you might want to use a way to “normalize” date and time, for example for logging. Instead of...

read more

Displaying Message Boxes

PowerShell can access all public .NET classes, so it is (fairly) easy to create a message box: $result = [System.Windows.MessageBox]::Show('Do...

read more

Finding ASCII Codes

Here is an easy way to find the ASCII code for any character you may have scraped from a website, or found in a script that you copied from the...

read more

Finding Auto Starts

PowerShell 3+ If you’d like to know which programs start automatically on your machine, WMI may help: PS C:\> Get-CimInstance -ClassName...

read more

Replacing CSV File Headers

PowerShell 2+ When you read in CSV data and would like to rename the CSV headers, here is a simple approach: just read in the text line by line, and...

read more
1 50 51 52 53 54 130