다음을 통해 공유


Mitch Klann's Blog - Mostly Automated

Write-Log Function with Context

Along the same lines as my previous post, I wanted to share the latest version of my logging...

Date: 05/08/2017

PowerShell Prompts – Part 2

In Part 1 of this series, I talked about an Approve-Action function. This is great for a single...

Date: 12/22/2015

PowerShell Prompts – Part 1

I always get nervous when I am writing scripts that could negatively impact users consuming a...

Date: 08/06/2015

Log-Event

Recently I had a need to write to the event logs using PowerShell. I knew there was a built in...

Date: 12/31/2014

Shutting Down an Exchange Site

The argument could be made that this script is not something that has a practical use. One of my...

Date: 08/31/2014

Caching Objects in PowerShell – Part 2

In my previous post about this subject, I demonstrated how to cache objects using an XML file. Let’s...

Date: 07/31/2014

Caching Objects in PowerShell – Part 1

In the first section of this two part series, I will discuss caching objects to disk in PowerShell,...

Date: 06/30/2014

PowerShell Performance: Write-Host

This month’s post will be a short one – and there’s not much code to this topic, it’s just an...

Date: 03/31/2014

Estimating/Calculating Execution Time

Over the years, I’ve noticed that I develop a general routine depending on the needs of my...

Date: 02/27/2014

Collecting Mailbox Counts per Database Using LDAP

Recently I have been gathering a lot of mailbox data for a customer running Exchange 2010 that is in...

Date: 01/15/2014