private void Task_PreInit(object sender, EventArgs e) { ExchangePropertyContainer.EnableCmdletLog(this.context.SessionState); this.cmdletLogEntries = ExchangePropertyContainer.GetCmdletLogEntries(this.context.SessionState); this.context.InvocationInfo.IsVerboseOn = true; }