GitHub: https://gist.github.com/dkittell/d11d6bf7ac03d5c52355
Category: Code
This area of the site is dedicated to code snippets for quick and easy reference
PowerShell – PowerShell Installed/Compatible Version
Possibly one of my important commands is to find out what version I have available on the computer. There are various ways to get this and some are rather long and arduous in comparison This will display something like this:
SQL – Log Parser Studio – User-Agent
Caution: These scripts will take some time to run on large logs. Reference: User-Agent – Browser User-Agent – Device
SQL – Log Parser Studio
Log Parser Studio is a great free tool from Microsoft TechNet Gallery that allows you to run SQL statements against Log files. This tool is available as a Zip file, once extracted open “LPS.exe”. Two examples are below but there is also a category (Code – SQL – Log Parser…
PowerShell – Get/Set Windows Date/Time from NTP
Sometimes w32Time is not available or practical so we get this PowerShell script to pull NTP date/time and set the Windows Date/Time GitHub: https://gist.github.com/dkittell/56f957c850f1064cbea0 Reference: chrisjwarwick.wordpress.com
C# – Windows Phone 8 – SMS Via Program
GitHub: https://gist.github.com/dkittell/025bfa7e07b7a052eee6 Reference/Credit: http://abundantcode.com/how-to-send-sms-in-windows-phone-8-programatically-using-c/
PowerShell – FTP Upload Directory With Sub-Directories
This script below will connect to a FTP server and upload the folder with sub-directories and content to the defined path. Currently this script will assume it needs to create the directories. GitHub: https://gist.github.com/dkittell/f029b6c7d1c46ebcffcb
PowerShell – Rename Pictures to Image Taken
GitHub: https://gist.github.com/dkittell/746e69967a7f4d0f0c52 Reference: https://gallery.technet.microsoft.com/Rename-picture-files-with-97738191 (Magnus Ringkjøb)