I needed to write a PowerShell utility to create Exchange mailboxes for new users in Active Directory. The utility needed to create the mailboxes, use different databases, retention policies, and take users from several Organisational Units along with users in child OUs. This utility is available to download from the Microsoft TechNet Gallery, PowerShell Gallery and GitHub. If you’d like to contact me, please leave a comment, send me a tweet or DM, or you can join my Discord server.
Update 2018-04-20: I’ve rolled the information in this post and updated it, into a new post about setting up a WSUS server from scratch on Windows Server 2016 Core. The post is also suitable for a regular Windows Server 2016 server with a GUI. You can read it here. I’ve been dealing with some issues with a WSUS server recently. It services around 1000 devices, mostly Windows 10 with some Windows 7, Windows Server 2016/2012 R2/2012 and 2008 R2.
Page History Update 2021-11-22: Added information relating to Windows 10 21H2. Update 2021-09-03: Added information relating to Windows 11 21H2. Update 2021-05-12: Added information relating to Windows 10 21H1 May 2021 Update. Update 2020-11-02: Added information relating to Windows 10 20H2 October 2020 Update. Update 2020-06-12: Added information relating to Windows 10 2004 May 2020 Update (20H1). Update 2020-01-27: Removed information for old unsupported versions of Win 10 and added a table to show which app maps to the display names in PowerShell.
UPDATE: This post is old and intended as a walk through on how my original script was put together for those wishing to learn PowerShell. For the finished, up-to-date script please check out this post and you can download the script from my TechNet profile. 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.
Here’s a quick update on an option I missed in my previous post about how to customise the Start Menu and Taskbar for new Windows 10 1607/1703 installs. Update 2017-05-02: This also works with Windows 10 1703 (Creators Update) The method that I used in my previous post would not be suitable for other environments where you would still want users to have some control over apps that were pinned to the Start Menu.
UPDATE: This post is old and intended as a walk through on how my original script was put together for those wishing to learn PowerShell. For the finished, up-to-date script please check out this post and you can download the script from my Microsoft TechNet profile. 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.
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 has a web admin front end and FTP access. I have no access to the terminal or desktop.
This week I’ve gone pretty deep down the rabbit hole of automating the Start Menu and Taskbar layouts during an MDT Task Sequence. Update 2017-05-02: This also works with Windows 10 1703 (Creators Update) As every device I’m deploying will have the same customisation I wanted to automate it during the build or deploy Task Sequence, rather than applying it via domain Group Policy to reduce limited network bandwidth, keep Group Policy as light as possible and reduce login times as much as possible.
I’ve replaced this script with a much more robust script that will backup each VM, including checkpoints/snapshots. You can find that post here. Let’s celebrate the holiday season with a quick PowerShell script to backup a Hyper-V server…or maybe you just need a quick and dirty, belt and braces backup script for your Hyper-V based VMs. It’s a small, quick script leveraging Hyper-V’s PowerShell module and some traditional command line utilities, like robocopy.
Today’s post is another PowerShell script I wrote with a very specific task in mind. Chatty is a popular chat application for streaming site Twitch.tv. It is generally used for interacting in channel chat rooms as well as logging, running scripts, and live statistics. Some users run it 24/7. One problem that exists is that the logs don’t get separated, even if the program is restarted, the log continues on in the same file.
One of the servers I manage is a Minecraft server for a friend. It’s called Marzicraft, it has a candy theme, and it’s delightful, even if I do say so myself. :) I recently replaced the .bat scripts I wrote to maintain it with a single PowerShell script. Even if you aren’t supporting a Minecraft server, hopefully there’s some useful information here for your own work. If you are intending to use this script for your own Minecraft server, please be aware that I’ve put this together with a dedicated server in mind.