Creating AD User Accounts Using PowerShell

Whenever someone tells me that my insistence that domain controllers should never have a GUI (Graphical User Interface) I introduce them to the Remote Server Administration Tools, and all is well. Yes, you can manage your Active Directory Domain Services (AD DS) from the comfort of your Windows 11 (or Windows 10) PC with the … Continue reading Creating AD User Accounts Using PowerShell

Disabling IPv6 with PowerShell

Let me preface this piece by saying that I usually do not disable IPv6. There are advantages to leaving it on (even if you think you are not using it) which I will not go into here. With that said, I was building a server for a lab environment recently, and IPv6 was interfering with … Continue reading Disabling IPv6 with PowerShell

The Secrets of The French…

The first class that I took on Microsoft Windows was with a very nice French-Canadian instructor whose name I think was Denis. He told an interesting story that I wish I had retained the details of. He told us that following The Great War (WW1), the government of France decided that codes and secrets and … Continue reading The Secrets of The French…

Importing PowerShell Modules When You Cannot Install PowerShell Modules.

**Note: This article is written around a single PowerShell module (ExchangeOnlineManagement). However, the steps will work for any PowerShell module. Have at it! –MDGPS C:\> Install-Module -Name ExchangeOnlineManagement PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'ExchangeOnlineManagement'. Try Get-PSRepository to see all available registered module repositories. At C:\program files\powershell\6\Modules\PowerShellGet\PSModule.psm1:9491 … Continue reading Importing PowerShell Modules When You Cannot Install PowerShell Modules.

PowerShell From Afar

“Hey Mitch, I always hear you talk about running PowerShell against remote computers. How do I do that?”There are several different ways to do this, depending on what exactly you want to do.PreparationWe cannot simply create a machine and start working on it remotely. We have to enable remote management by first enabling PowerShell Remoting. … Continue reading PowerShell From Afar

Changing Default Usernames and E-Mail in M365

**DISCLOSURE: While I am contracted to Microsoft Corporation, I am not an employee. The articles that I write are not meant to represent the company, nor are they meant to represent me as an employee or spokesman for the company. As has always been the case, all articles on this website represent me and nobody … Continue reading Changing Default Usernames and E-Mail in M365

Domain Controller to the Core

**DISCLOSURE: While I am contracted to Microsoft Corporation, I am not an employee. The articles that I write are not meant to represent the company, nor are they meant to represent me as an employee or spokesman for the company. As has always been the case, all articles on this website represent me and nobody … Continue reading Domain Controller to the Core

Creating a Lab Domain in PowerShell

I am spending a lot of time in Microsoft 365 these days. Because of my new contract, I found myself needing to build a lab environment from scratch. Yes, I am working in Azure AD, but for my role I realized it would be help to have an on-premise Active Directory Domain Services environment, in … Continue reading Creating a Lab Domain in PowerShell

Office 365 Distribution List Question

Hey Mitch! Do you know if we can add a couple hundred users to a distribution list instead of adding them one by one?One of my help desk techs was asked to create several distribution lists with several hundred users, and they do not want to have to scroll through the user list to click … Continue reading Office 365 Distribution List Question

Change the Way You Change Text

I remember when I first discovered the mail merge feature… it amazed the twelve-year-old me that I could write a letter once, and then AppleWorks would address that letter to the several hundred people in my database.  I was thrilled with it. Last week, I was working with a client who moved a server.  No … Continue reading Change the Way You Change Text

PowerShell: A Colourful Experience

One of the topics I inject into every one of my classes (and frankly, most of my customer conversations) is how to do whatever we are doing in PowerShell.  Scripting is one of the ways I make my life easier, and I recommend my students and customers use the knowledge I share to make their … Continue reading PowerShell: A Colourful Experience