How to delete a service application in SharePoint 2013 which gives error?

I want to delete project server 2013 service application but it give error

When I delete it from central administration it give blow error:

Sorry, something went wrong   Object reference not set to an instance of an object.  

and I tried to remove it using powershell it give blow error

my commands:

$  spapp = Get-SPServiceApplication -Name "Project Service Application"  Remove-SPServiceApplication $  spapp -RemoveData 

and the error I get:

 Object reference not set to an instance of an object 

can anyone tell me how can I overcome this problem

Delete old events and events with large attachments

I use Outlook as my local computer client, connecting to gmail via IMAP. In Outlook, it’s easy to sort nonrecurring calendar items by date, delete old ones, show recurring items by end date, then delete those with old end dates. I can also show which have obnoxious attachments that take up exorbitant space, and delete those.

I don’t normally use Google Calendar, but when I accept invites using Outlook, the resulting deletion of the invite causes it to go into gmail’s All Mall rather than the Trash bucket. I don’t mind that, as long as it’s easy to clean and maintain. Can I do the following in one fell swoop each? I normally use the gmail interface for search from Windows 7.

  1. Can I delete all nonrecurring invites before a date?

  2. Can I delete all recurring invites with end dates before a certain date?

  3. Can I delete all responses to invites that are older than a certain date?

  4. Can I collect all invites with attachments for inspection, then delete them selectively or all at once?

  5. Will any of the above deletions propagate to my Outlook client? I don’t want that, as I do my own house-cleaning in Outlook.

Thanks.

Delete a block of all layouts

I am using Layout Builder (Drupal 8.7.1)

I have a block in several Layouts. How can I programmatically remove all instances of this block and update all layouts without the message “This block is broken or missing. You may be missing content or you might need to enable the original module.” ?

Error {“readyState”:4,“status”:404, “statusText”:“not found”} in SP Online Delete ListItem

i am not able to delete the list item using the getitembyid(ID) method using SP Online REST call,

am making a call to deleteitem(murl) where m url ===>

   for (var i = 0; i < data.d.results.length;         i++)          {            var item = data.d.results[i];                ID = item.ID;        ID = item.ID       var murl =     _spPageContextInfo.webAbsoluteUrl +   "/_api/web/lists/getByTitle('Posts_Testing')    /getItemById("+ID+")"; 

….. }

below is the code: what am i doing wrong?

am getting error:

ErrorinRESTAPI-delete-call

  function deleteItem(murl) {   alert(' inside delete fun');     alert(murl);     $  .ajax({    url: _spPageContextInfo.webAbsoluteUrl +     murl,      type: "DELETE",     headers: {    "accept":     "application/json;odata=verbose",   "X-RequestDigest":     $  ("#__REQUESTDIGEST").val(),     "If-Match": "*"        },      success: function (data) {      },         error: function (error) {        alert(JSON.stringify(error));         }      });    }           return true;     } </script> 

Android 7.0: can Android delete songs from internal storage without my consent?

I’ve just noticed that a lot of songs I had on my Leagoo T5c (Android Nougat) had disappeared. Namely, and among others, the whole discography by Sheryl Crow in FLAC format, all 5GB of it (I still have over 10GB of free space, BTW).

Has Android been known to randomly or purposely delete songs? Can those songs I ripped from CDs I had (and don’t have anymore, alas) have an expiry date?

I remember listening to those songs a few months ago, and I have done nothing on the phone that could explain them missing, like factory restore or anything of the kind, since then.

Google Tasks – Hide completed tasks, don’t delete them

I have about 10 unfinished and 10 completed tasks in my Google Task list.

To mark a task as ‘done’, I click on a checkbox, this puts a strikethrough through the task. This still leaves the a cluttered list of tasks in my task list.

My other choice is to purge all tasks in my task list, using “Actions: Clear Completed Tasks”. However, this deletes all of my tasks. I’d like to keep the task list around, for posterity.

Is there a way to hide my completed tasks from view, without deleting them?

Mass delete email from all users’ Gmail mailboxes

We are in the process of moving from onsite Exchange to G-Suite for email. In the past we bounced all external email through Gmail before it hit our Exchange server as a backup and spam filter. As a result, everyone’s Gmail inboxes are loaded with external emails and they are all unread.

Before I move all users to Gmail I would like to clear out all those emails for all staff, so they get a fresh inbox. Is there a way I can do this without logging into everyone’s accounts? I have well over 100 accounts to clear.