How to delete files with specific extension from users One drive accounts?

%3CLINGO-SUB%20id%3D%22lingo-sub-1424022%22%20slang%3D%22en-US%22%3EHow%20to%20delete%20files%20with%20specific%20extension%20from%20users%20One%20drive%20accounts%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1424022%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20received%20an%20requirement%20where%20client%20want%20to%20delete%20files%20with%20specific%20extension%20from%20Users%20one%20drive%20for%20business%20account.%3C%2FP%3E%3CP%3EWe%20have%20one%20drive%20admin%20account.%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20delete%20files%20with%20specific%20extension%20from%20user%20one%20drive%20account%20using%20script%3F%3C%2FP%3E%3CP%3EScript%20snippets%20would%20be%20helpful.%3C%2FP%3E%3CP%3EThanks%20for%20your%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1424022%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFiles%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOneDrive%20for%20Business%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Visitor

Hello Everyone,

 

We received an requirement where client want to delete files with specific extension from Users one drive for business account.

We have one drive admin account.

Is it possible to delete files with specific extension from user one drive account using script?

Script snippets would be helpful.

Thanks for your help

0 Replies