protected override void ExecuteCmdlet()
        {
            var rendition = Identity.GetImageRendition(CurrentWeb);

            if (rendition != null)
            {
                if (Force ||
                    ShouldContinue(string.Format(Resources.RemoveImageRenditionWithName0, rendition.Name), Resources.Confirm))
                {
                    CurrentWeb.RemovePublishingImageRendition(rendition.Name);
                }
            }
        }