Find subfolders that lack a given file(name)

Our processing automation at work creates a number of files during processing. One way we can tell when the automation hasn’t completed successfully is when the processed files directory has been created, but the files that are created at the end of processing are missing from the directory. Here’s a PowerShell script fragment to identify […]

PowerShell – Get-WmiObject vs. Get-CimInstance

A recent post on the Hey, Scripting Guy! blog showed how to use PowerShell to find a network adapter’s MAC address. The post provided two ways to get the information using WMI: Get-WmiObject win32_networkadapterconfiguration | select description, macaddress Get-CimInstance win32_networkadapterconfiguration | select description, macaddress I wondered about the difference between GetWmiObject versus Get-CimInstance. Happily, while […]

Scriptify – A navigation aid for SharePoint 2013 PowerShell Cmdlets

Via yesterday’s Hey, Scripting Guy! blog – Scriptify – A navigation aid for SharePoint 2013 PowerShell Cmdlets is a web-based reference for PowerShell cmdlets related to SharePoint 2013. The cmdlets are divided into 36 categories – clicking on a category’s button takes you to a page of buttons to access the invidual cmdlets in that […]

Accessing the Outlook Inbox – ‘NoCOMClassIdentified’ error

(this was my first scripting post on my original Golden Age of Scripting blog) We get a lot of email where I work. A metric butt-ton. One of the things I’d like to be able to do is access that email programmatically, in order to extract production processing reports for further analysis. As a first […]