top of page
Search


Create a WMI Filter on a PDC with PowerShell
The goal is to use PowerShell to create a GPO and a WMI filter for the PDC. The PDC is the authoritative time source in a Domain and it’s vital that only the PDC syncs with the upstream time source. Every other domain controller should, in turn, sync from the PDC, maintaining a proper hierarchy and preventing clock chaos
Nov 15 min read
Â
Â
Â


PowerShell Logging and Not Start-Transcript
PowerShell's Start-Transcript command is a common choice for logging script output, it has its shortcomings. It records console output (writ
Feb 44 min read
Â
Â
Â


Windows AutoPilot Device Preparation
Windows Autopilot's Device Preparation is it's new 'user-driven' workflow. Instead of IT staff registering all devices prior to giving...
Oct 23, 20242 min read
Â
Â
Â


Deploying Windows Domains as an EC2 Instance with PowerShell - Part 2
Leverage PowerShell to automate the entire setup of a Windows domain in AWS from creating the VPC to configuring the EC2 encrypted volume.
Aug 16, 20246 min read
Â
Â
Â


Deploying Windows Domains as an EC2 Instance with PowerShell - Part 1
leverage PowerShell to automate the entire setup of a Windows domain in AWS from creating the VPC to configuring the EC2 encrypted volume.
Aug 16, 20244 min read
Â
Â
Â


Ansible with Windows Domains and Kerberos
Welcome Back Hey there! I'm glad to have you back for the third Ansible article. This time, we're diving into using Ansible to manage...
Apr 22, 20244 min read
Â
Â
Â


Ansible Vault for Windows
We're diving into Ansible Vault and how to keep those Microsoft Windows passwords safe by encrypting them whilst they are at rest.
Mar 18, 20244 min read
Â
Â
Â


Basic Ansible Setup for Windows
Welcome to this introduction to managing Windows from Ansible, unlike Microsoft's management solutions, it's free and agentless!
Feb 26, 20246 min read
Â
Â
Â


Deploy Domain Controllers with PowerShell and JSON (Part 1) - Domain Controllers
In this post, we'll delve into the automated deployment of a Domain using PowerShell in tandem with a JSON configuration file.
Oct 6, 20232 min read
Â
Â
Â


Deploy Domain Controllers with PowerShell and JSON (Part 2) - OU Structure and Delegation
Welcome back to the continuation of our series on deploying Domain Controllers using PowerShell and JSON. If you've been following along with Part 1, you should now have a newly configured Domain Controller with a delegated Organizational Unit (OU) structure in place.
Oct 6, 20237 min read
Â
Â
Â


PowerShell's Custom Runtime for AWS Lambda's - Installation
This walkthrough covers how to set up and deploy an AWS Lambda Custom Runtime for PowerShell from within Windows Subsystem for Linux 2 (WSL2). We’ll go through the environment setup, packaging, and deployment process so you can build and run PowerShell-based Lambda functions without needing a full Linux host.
Jul 13, 20235 min read
Â
Â
Â


PowerShell's Custom Runtime for AWS Lambda's - Importing Modules
This walkthrough covers how to set up and deploy an AWS Lambda Custom Runtime for PowerShell from within Windows Subsystem for Linux 2 (WSL2). We’ll go through the environment setup, packaging, and deployment process so you can build and run PowerShell-based Lambda functions without needing a full Linux host. - Lets import some Moduels
Jul 13, 20233 min read
Â
Â
Â


How to Delegate Active Directory OU's with PowerShell
How to Delegate Active Directory OU's with PowerShell
Today is a quick explanation regarding OU delegation using PowerShell with usable examples and how-to located the GUID that identifies the object type being delegated.
Oct 22, 20222 min read
Â
Â
Â


How to Merge GPOs with PowerShell
Tried merging GPOs with PowerShell? It’s not as straightforward as it sounds, PowerShell is really just providing logic around LGPO.exe. Still, the method below does the job of merging disparate GPOs for domain deployment.
Oct 20, 20223 min read
Â
Â
Â


How to Create GPOs with Restricted Groups using PowerShell.
If you’ve ever tried managing Group Policies with PowerShell, you’ll know Microsoft’s support is… less than ideal (read: nonexistent). Sure, there are paid third-party tools to fill the gap, but you can also just follow this article and get it done for free.
Oct 9, 20223 min read
Â
Â
Â


Map User Rights Assignments from Guids to Group Names
Ever wondered what all those Windows Guids translated to in User Rights Assigments? Follow the link and run the script with Admin...
Jul 12, 20221 min read
Â
Â
Â


Windows PE add-on for the Windows ADK for Windows 11, version 22H2 Error
Windows ADK PE for Windows 11 22H2 fails to install. Clicking on the Windows PE tab crashes MMC generating the following errors Could not find a part of the path 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs', unable to open the specified WIM file. ---> System.Exception: Unable to open the specified WIM file. ---> System.ComponentModel.Win32Exception: The system cannot find the path specified.
Jun 21, 20222 min read
Â
Â
Â


Deploying without MDT or SCCM\MECM....
Can Windows 10 and a suite of applications, including Office, be automated without fancy deployment tools? The short answer: yes, but it’s not pretty. There are problems that MDT and SCCM simply make disappear. I’m not thrilled about dealing with these issues. Manual prep takes way more time, is less functional, and only starts to make sense if you have more than a handful of Windows clients to deploy.
Apr 24, 20224 min read
Â
Â
Â


Create 73,000 Test AD User Accounts
Need to bulk-create Domain Users? This PowerShell script can generate over 73,000 accounts right out of the box. Want more? Just add extra first and last names to the CSV. While 73,000 test accounts should cover more than you’ll ever realistically need, the script can also be tweaked, remove the randomization and it’ll build real users directly from your CSV list.
Jul 16, 20202 min read
Â
Â
Â
bottom of page
