Cannot delete missingsetupfile with powershell

Visitor

Hello,

I had a missingsetupfile error in SharePoint 2019.

I got Id, SiteId and Web Id from SQL and used PowerShell script to get the file url, but when I ran $file.delete() I got the message below :

missingsetupfile-delete-error.png

Can you help me to resolve this error?

Thank you.

0 Replies