SharePoint Documents Archiving

%3CLINGO-SUB%20id%3D%22lingo-sub-1371405%22%20slang%3D%22en-US%22%3ESharePoint%20Documents%20Archiving%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1371405%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22x-hidden-focus%22%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20working%20on%20a%20project%20where%20in%20there%20requirement%20is%20like%20this.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%201%20(Say%20Alpha)%20library%20where%20in%20users%20keep%20uploading%20the%20files%20on%20daily%20basis.%20Once%20the%20alpha%20library%20reaches%205000%20files%20count%2C%20a%20new%20library%20should%20be%20created%20as%20(Beta1)%20and%20move%20the%20files%20from%20Alpha%20to%20Beta1%20library.%20Beta1%20should%20only%20store%205K%20files.%20Once%20the%20Beta1%20also%20reached%205k%20and%20if%20the%20Alpha%20library%20reaches%205000%20a%20new%20library%20with%20name%20Beta2%20has%20to%20be%20created%20and%20move%20files%20from%20Alpha%20to%20Beta2.%20(Since%20Beta1%20already%20have%205k%20files)%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThis%20has%20to%20be%20a%20continuous%20process%20and%20Alpha%20library%20should%20never%20cross%205000%20documents%20in%20the%20library%20.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20grabbed%20few%20powershell%20to%20count%20the%20files%20number%20and%20library%20creation.%20but%20that%20is%20manually%20running%20the%20powershell%20files.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20anyone%20help%20me%20with%20this%20requirement.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3Eregards%3C%2FP%3E%3CP%20class%3D%22x-hidden-focus%22%3EKC%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1371405%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDocument%20Library%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

Hi,

 

I am working on a project where in there requirement is like this.

 

We have 1 (Say Alpha) library where in users keep uploading the files on daily basis. Once the alpha library reaches 5000 files count, a new library should be created as (Beta1) and move the files from Alpha to Beta1 library. Beta1 should only store 5K files. Once the Beta1 also reached 5k and if the Alpha library reaches 5000 a new library with name Beta2 has to be created and move files from Alpha to Beta2. (Since Beta1 already have 5k files)

 

This has to be a continuous process and Alpha library should never cross 5000 documents in the library .

 

I have grabbed few powershell to count the files number and library creation. but that is manually running the powershell files.

 

Can anyone help me with this requirement.

 

regards

KC

0 Replies