I've found myself hanging around some PowerShell chats lately, and I've been picking up on a lot of neat tricks to write better code. This one comes my way via Adam Cook from his blog post on his awesome new function Get-CMUnusedSources (seriously, if you're a ConfigMgr shop, check it out). Since PowerShell is one of …
Read MoreIn the six minute video below, I'm going to walk you through the process of forking a Microsoft Docs repository from GitHub, cloning it to your local machine, making changes, pushing those changes back into your repository, and finally creating a pull request with Microsoft to prompt them to bring your changed content …
Read MoreShort and sweet for those at MMS 2019 who were looking to inventory java usage with Configuration Manager. There is a 2018 System Center Dudes post on metering java. The post was based on a CI created by Steve Jesok of TCSMUG back in 2015. The original script doesn't account for problems with newer versions of Java, …
Read MoreI haven't blogged about it a lot, but I am trying to learn what I can about PowerShell on Linux. I feel like more and more services are headed to the cloud, and (even in Azure) will be able to run on Linux devices. Being able to write portable scripts to move between what I manage today, and what I may be asked to …
Read MoreThe following short and sweet snippet of PowerShell will extract the list of admins from your SCCM environment and then get their email addresses. At the end, you can dump $email into a text file, or perhaps set it to your clipboard to paste into Outlook. 1# Script assumes you have CM Module Loaded 2# Script assumes …
Read MoreI wrote the following script to inventory the administrative users of my Configuration Manager (SCCM) environment as they relate to Active Directory. The end result is a list of users who no longer exist in Active Directory, users who are in Active Directory but disabled, and users who are granted rights in multiple …
Read MoreIn a post last week, I talked about how I've begun using YNAB in 2019 to manage my finances. As soon as I learned there was an API, you know I had to dig in and see what it could do. Below I've posted a short PowerShell script to query all credit cards and lines of credit and then dump them out to the console. Nothing …
Read MoreThirty-Four Days with YNAB
2019-02-04 YNABOne of my two New Years resolutions for 2019 was to do a better job managing my personal finances. I've been a religious Quicken user for about sixteen years, but I was starting to realize that it was doing a great job at telling me what I'd spent my money on, and ensuring that I never spent more than I had, but I …
Read More