Поделиться через


Dan Sheehan’s Blog

Microsoft Premier Field Engineer

PowerShell: Taking Control of CTRL-C.

Have you ever been in the middle of running a PowerShell script and hit CTRL-C to stop it, and...

Date: 10/27/2018

Exchange: Lingering/Orphaned In-Place Holds on mailboxes blocking cleanup/moves.

This blog post covers two different scenarios when an In-Place Hold is removed off an eDiscovery...

Date: 10/26/2018

Confirming/Validating PowerShell Get-Credential Input Before Use

Have you ever used Get-Credential to generate credentials in PowerShell, only to find out when you...

Date: 06/23/2018

Tracking and Controlling PowerShell Script Execution Progress via XML

Have you ever wanted to track the progress of one of your multi-step/stage PowerShell scripts on a...

Date: 06/10/2018

PowerShell code to wait for a background process to finish before continuing on with a script

While this code was originally developed for an Exchange script, you can use it for any PowerShell...

Date: 02/18/2018

Use PowerShell to determine the first and last days of the current calendar quarter.

Time for some fun with PowerShell. :) ***Updated to include code Eric created to determine the last...

Date: 09/21/2017

Greetings & Generating an Exchange User Message Profile PowerShell Script.

Greetings world! My name is Dan Sheehan, and I work as a Premier Field Engineer for Microsoft,...

Date: 04/22/2015