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

Delving into disabling OneDrive

Disabling OneDrive for Windows 10 (and previous versions for that matter) is a relatively easy task to accomplish, but if you're doing some profile customisation and setting the "CopyProfile" option in the Unattend.xml then you'll need to do some extra work to make sure that it's disabled, and hidden as expected. The first thing to … Continue reading Delving into disabling OneDrive

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

Building a Windows 10 1703 (Creators Update) Reference Image with Microsoft Deployment Toolkit

With the release of Windows 10 1703 (Creators Update) ISO on the Volume Licensing Service Center, I've recently been looking into using the "final" code with Microsoft Deployment Toolkit (MDT) to build reference images and discover what issues are present. This post is a round up of differences and issues I've found with building and … Continue reading Building a Windows 10 1703 (Creators Update) Reference Image with Microsoft Deployment Toolkit

WSUS Configuration Tweaks For Improving Performance

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. The WSUS server provided updates for a variety of Microsoft products including Office, Exchange, SQL, Visual Studio, Windows Defender to name a few. The WSUS … Continue reading WSUS Configuration Tweaks For Improving Performance