0
votes
0answers
11 views

Update folders to folder content type

I have a document library with root folders and then sub-folders. I need to update the sub folders to a newly created content type. Is there a way to do this with powershell? Example: Document ...
0
votes
1answer
155 views

Add Group to Folder in a Document Library using Powershell

I want to create a Function with a single command line to add a SP Group to a Folder within a Documents Library. Structure: Site Document Library Folder (Permissions/Group(s) to be added here) ...
2
votes
1answer
335 views

loop splistitem in folder in powershell

I'm trying to loop all splistitem in a folder of a library. I can get my library and have folder but i'm not able to get the items inside the folder. When i display the listitem for folder, i've the ...
0
votes
2answers
295 views

Locate empty folders in Sharepoint 2007

I'm trying to work out how I can locate empty folders in Sharepoint 2007 using Powershell. Folder.itemcount doesn't appear to work in 2007.
1
vote
1answer
3k views

PowerShell: Upload documents to folder in document library

I'm using SharePoint Foundation 2010. I have to make a PowerShell script that copies a structure found on a network share. Its all good except for one thing... I know how to make Document Library's ...
1
vote
3answers
264 views

Move Files from a SharePoint Library into a Folder

I have a problem. I want to move files from a SharePoint library into a folder using PowerShell. To be more specific I need to move all the files in the library for whose a SharePoint field value ...
2
votes
2answers
4k views

Change Document Library folder's Modified timestamp to latest timestamp inside

I have a Sharepoint 2010 Document Library with a range of subfolders and some files within each of them. The problem is, right now every subfolder has the same Modified timestamp, and I want each ...
1
vote
2answers
1k views

How can I query all of the items which are inside a folder, which is in turn inside a document library?

I am trying to use Powershell to query my Sharepoint site so I can get a list of items to use as input in my migration script. I have a document library (Site Assets), which has a folder (Calendar ...