Introduction For this week’s Quick PowerShell Post of the Week we will cover a couple of practical uses of the Get-Random cmdlet. In the first example we will use it to generate some coupon codes to be used in a book promotion campaign and in the second example we will use it to generate some…
About About’s in PowerShell 1
Introduction In this first of a series of blog posts we’ll cover some basic concepts of PowerShell which are grouped under a common thread of ‘About’ in Microsoft’s documentation. For each blog post we will cover the basics of a particular About and then dive into practical, real-world ways to use the advice / concepts…
Microsoft Graph PowerShell Weirdness – Part One
Introduction There are days where I feel like I live in PowerShell and it’s those days that end up resulting in the strangest finds. Then on top of that are the finds so strange that I have to investigate it, which then results in blog posts like today. One that my mind would not leave…
Quick PowerShell Post of the Week 6
Introduction Last week we covered the code that fellow Exchange MVP, Jaap Wesselius , wrote this great blog article about and we covered it’s breakdown. This week we will take the CSV file we created and use it to alter attributes in our account forest. The CSV File If you read the blog post from…
Multi-Tenant M365 Workload Cert Based Auth Script
Introduction So. You’ve switched over to using Certificate Based Authentication and maybe you have a production tenant and a QA or test tenant that you manage, sometimes even with PowerShell … Do you remember all of your app Ids, tenant Ids, certificate thumbprints and so on? Why not just create a script that handles all…
Newsletter hits 1500 Subscribers!
First, a thank you to those who are subscribed to my monthly PowerShell Newsletter! Really appreciate those who are subscribed and read the content each month. As of this month, the number of Newsletter subscribers crossed 1500 which took some time to get to, but is a good number to reach. My goal is to…
Microsoft Graph PowerShell: Microsoft.Graph.Identity.DirectoryManagement Module
Introduction A couple of weeks ago we reviewed how to go through the Graph cmdlets and also exposed all of the submodules that are present in the Graph PowerShell module – read about that here. Now we are going to explore each of these submodules and break down as much as possible the cmdlets from…
Quick PowerShell Post of the Week 5
Introduction Last week we covered connecting to the SharePoint PNP PowerShell module with Certificate Based Authentication. For this week we will break down a code that is used for migrating accounts from a resource Exchange on-premises forest an account forest. Why do this? Typically these activities occur during merger acquisitions or forest cleanup operations where…
PowerShell Paging in Microsoft 365
Introduction You may have heard that things are better in the cloud, that they reduce your costs and time to manage. However, in order to achieve these benefits in a shared system, Microsoft has to make certain changes so that their systems are more efficient and cost effective, something they can then pass on to…
Microsoft Graph Submodule DirectoryObjects
Introduction A couple of weeks ago we reviewed how to go through the Graph cmdlets and also exposed all of the submodules that are present in the Graph PowerShell module – read about that here. Now we are going to explore each of these submodules and break down as much as possible the cmdlets from…