public override void ExecuteCmdlet()
        {
            base.ExecuteCmdlet();
            var list = WebsitesClient.GetSiteSnapshots(ResourceGroupName, Name, Slot, UseDisasterRecovery.IsPresent).Select(s => {
                return(new AzureWebAppSnapshot()
                {
                    ResourceGroupName = this.ResourceGroupName,
                    Name = this.Name,
                    Slot = string.IsNullOrEmpty(this.Slot) ? "Production" : this.Slot,
                    SnapshotTime = DateTime.Parse(s.Time, CultureInfo.InvariantCulture)
                });
            }).OrderByDescending(s => s.SnapshotTime).ToArray();

            WriteObject(list, true);
        }