PowerShell: Create Active Directory Users From CSV File

For years I've had a AD user import VBS script as part of my toolkit, I thought it was about time to update it to PowerShell as well as add a few new features. This script is also available to download from the Microsoft TechNet Script Center. Compatibility and Requirements This script has been tested running … Continue reading PowerShell: Create Active Directory Users From CSV File

PowerShell: Log Manager

In my environment, I need to keep an archive of some log files for a period of time, whereas other logs are not so critical, and some applications generate logs which are already compressed into ZIP files daily. So I have all these different requirements for logs. I don't want them filling up my server … Continue reading PowerShell: Log Manager

PowerShell: Create Exchange Mailboxes for AD Users

Recently I needed to write a PowerShell script to create Exchange mailboxes for new users in Active Directory. The script needed to create the mailboxes, use different databases, retention policies, and take users from several Organisational Units along with users in child OUs. This script is also available to download from the Microsoft TechNet Script Center. Update: … Continue reading PowerShell: Create Exchange Mailboxes for AD Users

PowerShell: Automate WSUS Maintenance

In a previous post I wrote about some configuration tweaks to keep your WSUS healthy, in this post I included a short PowerShell script so that the WSUS maintenance cycle could be automated. I've improved the script somewhat since then, adding more accessible configuration options, this post will serve as a change log and documentation … Continue reading PowerShell: Automate WSUS Maintenance

Virtual Machine Backup for Hyper-V

In a previous post I wrote about my Hyper-V backup script, powered by PowerShell. This post will serve as a change log and documentation page, as my previous post was more about how the script is written as a reference. My Hyper-V backup script is also available to download from the TechNet Gallery. When run … Continue reading Virtual Machine Backup for Hyper-V

Image Factory for Microsoft Deployment Toolkit and Hyper-V

In a previous post I wrote about my Image Factory for MDT, powered by Hyper-V and PowerShell. This post will serve as a change log and documentation page, as my previous post was more about how the script is written as a reference.   My Image Factory script is also available to download from the … Continue reading Image Factory for Microsoft Deployment Toolkit and Hyper-V

PXE Booting with WDS for UEFI and BIOS Devices

In a previous post (PXE Booting for Microsoft Deployment Toolkit) I mentioned that I would talk about how to set up PXE to deal with VLANs. To be honest I forgot all about it until someone on twitter reminded me - many thanks for the reminder! A lot of what I'm going to go through in … Continue reading PXE Booting with WDS for UEFI and BIOS Devices

PowerShell: Hyper-V Backup With Checkpoints/Snapshots

I previously posted a quick and dirty Hyper-V backup script that was very basic but did the job required at the time. I always wanted to revisit it and improve it. I'm moving the change log and updates to this page, as this post is more about the script itself. I started to look at … Continue reading PowerShell: Hyper-V Backup With Checkpoints/Snapshots

PowerShell: Fully Automated Image Factory for Microsoft Deployment Toolkit

Recently I've been looking into automating my image build process further using PowerShell to create an Image Factory of sorts. There are other similar scripts that I've found online, but I like the relatively simple and straightforward method I've developed below. If like me you're looking to automate your image build process so that you … Continue reading PowerShell: Fully Automated Image Factory for Microsoft Deployment Toolkit

Automated Minecraft Server Backup for Shared Hosting

In my There's PowerShell In My Marzicraft! post I shared my script that creates a backup of the server and then uses OneDrive to upload it offsite. In this post, I'll share my script to backup a Minecraft server that's on shared hosting and therefore I only have limited access to. The server in question … Continue reading Automated Minecraft Server Backup for Shared Hosting