VM Lab - Introduction

Hey guys,

It’s been a bit quiet lately, some holiday time and most importantly a change of jobs! As of July 1st I now work for OSC as an Infrastructure Specialist and will hopefully have more time to expand my knowledge and share this with the community.

The last few weeks I’ve been busy playing around with a solution in order to quickly create a Lab with VM’s.

While I know how to manually set them up and create machines, I had a somewhat ‘ideal’ method in mind and didn’t really want to stray from that idea.

Knowledge is power..

I’ve recently had some discussions with my colleagues about certifications, experience, knowledge etc. and was asked to share information on how I got to where I am today and what I use to keep furthering up.

While I had given those colleagues a direct answer and had thought about writing an email to several of them with some basic information, I thought sharing this information with a larger audience would be handy…. That way I can simply update the information and point to my site if there’s a change.

Script Dumpster: List all email addresses and Mailbox Size - OnPrem & O365

I’ve optimized the script to now only query each mailbox once and have increased the speed in this customer’s environment for On-premise from 1 minute 49 seconds to 26 seconds. The Office 365 code was optimized similarly and went down from 22 minutes 14 seconds to 7 minutes 21 seconds.

The output of the optimized script is identical to the original one.

Intro

As the title suggest, I had a customer asking for a list of all email addresses within the company and the accompanying mailbox sizes.

#DuPSUG - PowerShell Remoting - Slide deck & scripts used

Hi all,

As I had mentioned in my previous post, I gave a presentation last week at the Dutch PowerShell UserGroup [DuPSUG] about PowerShell Remoting.

It was my first time presenting in front of a crowd [approximately 55] which weren’t my colleagues [and even there at max like 10-15 people] or a handful of customers, so to say the least I was quite anxious.

Thanks to some great tips by Jeff Wouters and Ben Gelens I made it through and when clicking to the second slide I went into automatic pilot mode 🙂

#DuPSUG - PowerShell Remoting seminar

I’m happy to be able to say to that tomorrow I’ll be giving my first presentation on the Dutch PowerShell User Group!

Along with  Mark van de Waarsenburg,  Erik Heeres, Erik van der Plas and Danny den Braver we’ll be trying to spread the gospel of PowerShell amongst the interested people 🙂

My seminar will be focused on PowerShell Remoting - Practice & Theory and will feature a few labs along the way. I expect to post a few of the components, along with slide deck and scripts used on the site

Script Dumpster: Keep last X amount of files or Y amount of days

Ever had the need to remove all but the last X amount of copies of a back-up?

And I’m not talking about the copies from the last 2 days, because this can cause issues if the files aren’t created daily [in case of a weekend], in case a back-up has failed in the meantime or if multiple back-up copies have been made in one day.

While at first I was always playing around with the simple solution by checking file age, I ran into a more elegant solution I’d like to share with you.