Blogs, Articles, and Posts
- Creating a scalable, customised running environment
This post shows how to create an easy to support environment with all your own cmdlets. - Module Linking
I know it has been a while since I’ve given the blog any attention. I am hoping to correct that in 2024, although I’m already behind schedule. But let’s get to it. I have a short tip today that you may find useful, especially if you write modules for your private use. - Cloning Hyper-V VMs with PowerShell
Unlike when using Windows Admin Center to manage your Hyper-V VMs, Hyper-V Manager, nor the built-in cmdlets, offer any native VM cloning function. But with a bit of creative scripting, it's certainly doable. Here is a script that clones a virtual machine in Hyper-V: Unlike when using Windows Admin Center to manage your Hyper-V VMs, Hyper-V Manager - PowerShell Script Parameters: Getting Started Guide
PowerShell script parameters are vital components that enable the customization and versatility of scripts, functions, and cmdlets. PowerShell parameters enhance the usability and adaptability of scripts by allowing users to pass information into the code instead of hardcoding values. Understanding how to define, manipulate, and leverage PowerShell parameters is essential for proficient scripting in PowerShell.
Projects, Scripts, and Modules
- Report OneDrive for Business Storage Based on Usage Data
If you wanted to write a PowerShell script to create a OneDrive storage report, you'd probably use the cmdlets from the SharePoint Online management module. But accessing OneDrive usage data via the Graph is much faster. And you can include information from other sources, such as user properties, to build out the report. All explained here. - Report and Audit File Downloads in SharePoint Online Using PowerShell
SharePoint Online is a powerful collaboration service in Microsoft 365 that facilitates seamless file sharing and management across organizations. While it provides extensive capabilities, tracking file downloads is crucial for maintaining data security and compliance. This blog highlights the methods to audit file downloads in SharePoint Online. How to… - PowerShellRun
App, Utility and Function Launcher for PowerShell. PowerShellRun is a PowerShell module that lets you fuzzy search applications, utilities and functions you define and launch them with ease. It is a customizable launcher app on the PowerShell terminal. - Find All agent-based Hybrid Runbook Workers [OC]
In case you are not away the Microsoft Monitoring Agent (MMA) will be retired on 31 August 2024. Prior to this date you will need to migrate all your agent-based hybrid workers to the extension-bas… - PSSharedGoods v 0.0.278
Module covering functions that are shared within multiple projects
Books, Media, and Learning Resources
- The Absolute Minimum Every Software Developer Absolutely, Positively Must Know About Unicode and Character Sets (No Excuses!)
Ever wonder about that mysterious Content-Type tag? You know, the one you’re supposed to put in HTML and you never quite know what it should be? Did you ever get an email from your friends in…
Community
- From Admin to Defender: Jake Hildreth's Security Evolution
In this episode of the PowerShell Podcast, Andrew sits down with the knowledgeable Jake Hildreth for an enlightening conversation covering a wide array of security-related topics. Jake shares insights from his journey transitioning into security from a background in operations and administration. The discussion delves into OpSec practices, approaches to toolmaking, and the critical importance of Active Directory Certificate Services (AD CS) security. Jake also sheds light on tabletop exercises for security, the fallacy of security through obscurity, and the dangers of clicking on phishing emails. Tune in for a deep dive into the world of security and PowerShell with Jake Hildreth!
Fun
- PowerShell Emoji
PowerShell Emoji is a little PowerShell module to help you work with Emoji.
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.