private void DisableCmdletLog(object sender, EventArgs e) { if (this.context == null) { return; } if (ExchangePropertyContainer.IsCmdletLogEnabled(this.context.SessionState)) { ExchangePropertyContainer.DisableCmdletLog(this.context.SessionState); } }