PowerShell, Technology

Creating Bulk DNS Records with PowerShell

PowerShell is a great tool for managing your repetitive tasks with DNS records. In this example I will show you how you can bulk import DNS records to Windows DNS servers.     Populate a CSV with your device names and IP’s In PowerShell, import your CSV with the devices and IPs: #Import CSV $devices = Import-Csv “\\ServerPath\devices.csv” 3. Loop…

Continue Reading

PowerShell, Technology

Automating Windows Server Updates with PowerShell

Introduction If you are anything like me, you probably get fed up managing Windows Server updates manually pretty quickly. Logging onto servers, checking for updates, installing them, rebooting them, trying to keep track of which servers have been updated, what updates were installed etc… etc… I wanted to automate the process but still have control over when the updates were…

Continue Reading

PowerShell, Technology

Simplivity Backup Reports with PowerShell

An issue with Flash in the web browser and the version of Simplivity we are running forced my hand to learn to manage the backups using PowerShell. I started managing the backups through the Simplivity CLI but then discovered there was an PowerShell API which made life a lot easier. If you have experience using PowerShell you will find these…

Continue Reading

PowerShell, Technology

Managing DHCP Scopes with PowerShell

Introduction We recently restructured our whole IP addressing schema. This was a mammoth job. The management of DHCP scopes was one part of this. We had to create around 20 new DHCP scopes and create reservations for all the devices that reservations in the old scopes. I thought to myself that this is the perfect time to learn about using…

Continue Reading

Office 365, PowerShell, Technology

Exchange Online Migration error: “Target user already has a primary mailbox”

Issue When migrating mailboxes from Exchange On Premise to Exchange Online, it fails with the following error: Target user ‘Users Name’ already has a primary mailbox. Cause Long before we had ever thought about migrating to Exchange Online we had manually created some students in our Office 365 tenant (not using the Azure AD Connect) to give them access to…

Continue Reading

PowerShell, Technology

Powershell: Automating Exiting Users

Introduction I have being playing around with Powershell a lot more lately and trying to learn and utilise it as much as possible. One of the repetitive tasks we deal with is when a student exits the school. There are a number of steps in AD that have to be undertaken each time a student leaves. These include: Disable the…

Continue Reading

PowerShell, Technology, Uncategorized

PowerShell Resources

As a Sys Admin, I am probably a bit late to the party with how useful PowerShell can be. I have lately completed a couple of online courses about PowerShell and am trying to use it as much as I can in my day to day work. I am finding it incredibly useful in work and relatively easy to pick…

Continue Reading