ICYMI: PowerShell Week of 17-May-2019
Topics include working with the Graph API, Chocolatey, jazzing up your functions with pipeline support, and shrinking VMDKs.
Special thanks to Robin Dadswell, Prasoon Karunan V, and Mark Roloff.
How to shrink VMDK with a couple of PowerShell scripts?
by Kevin Soltow on May 8th
Not just a set of useful scripts for anyone still working in a space-constrained environment, but a great bit of interesting detail has also gone into this.
Powershell Script - MassDownloader - Efficient, Automated, Fault Tolerant, idempotent downloader with real time metrics
by Bryan Vine on May 12th
Taking BITS to the next level, Bryan has a nice script that automates some of the features and adds a progress indicator for each download.
Advanced PowerShell Functions: Begin to Process to End
by Brittney Ryn on May 13th
Interested in making your functions work in a pipeline? Brittney has put together an excellent guide to understanding how to do this, as well as a peek into some of the under-the-hood behavior.
PowerShell Module For JSON Schema Validation
by Tao Yang on May 12th
Tao needed to validate multiple JSON files, so he did what any self-respecting scripter would do. He wrote a new function that leverages Core’s native Test-Json in combination with Pester to validate an entire directory of files.
PowerShell, MS Graph API, Azure Automation, and Intune
by Timothy Gruber on May 8th
Knowing how to work with Graph opens up a lot of cool doors for your projects and Timothy’s guide is a fantastic place to start.
Tweet of the Week
Did you know that PowerShell Core has some significant performance improvements over 5.1? @jeremytbrun stumbled across the enhancements in Group-Object after making the switch.
Youtube: Chocolatey: From zero to software deployment hero in 60 minutes!
Tired of installing applications the hard way? Take a little tour of Chocolatey with Steven Valdinger and learn to do it like the pros!
Related Articles
So you want to start a User Group
But where do you begin?
I’ve blogged about this from the reversed perspective on my own blog about finding user groups with a small section about what you can do if your thinking about getting one off the ground which you can read at http://blog.kilasuit.org/2016/04/17/how-to-find-local-user-groups-events-my-experience/ and it was only natural to eventually blog from the other side too although this has come up a bit earlier than I had planned to but alas it gets it done ![]()
ICYMI: PowerShell Week of 02-April-2021
Topics include help sections, Approved Verbs, Identity Management and more…
Media Sync: Organize Your Photos and Videos with PowerShell
Do you have photos and videos that you have taken over the years that are scattered all over the place? Do you want to have all your photos and videos organized? Do you want all your photos and videos to have a standardized naming scheme? If you answered YES to these questions, then this is the post for you. In this post, I will provide you with the PowerShell code and examples for how to use the Media Sync script. The Media Sync script utilizes the Shell.Application COM object to gather file metadata. Only files that have a picture or video metadata type will be processed. The script uses the date taken for pictures and the media created metadata fields to organize the photos and videos. If there is no date taken or media created available for a given file, the script will use the modify date instead. The script also ensures that you won’t have any duplicate files by checking the file hashes of the two files in question. If the script detects duplicate files, it will only keep one copy of the file. There are also tools included to help you cleanup unwanted files or folders, delete empty directories and find duplicate files. The script has a simple menu driven PowerShell GUI similar to what I did in a previous post . The Media Sync PowerShell script provides the following features:
