protected override void ExecuteCmdlet() { if (Scope == FeatureScope.Web) { CurrentWeb.DeactivateFeature(Identity); } else { ClientContext.Site.DeactivateFeature(Identity); } }
protected override void ExecuteCmdlet() { CurrentWeb.DeactivateFeature(new Guid("E87CA965-5E07-4A23-B007-DDD4B5AFB9C7")); }