Tagged Questions
1
vote
3answers
354 views
How can I change Document library permissions for all site collections using powershell?
Total Powershell newbie here, but I have managed to write a couple scripts so far that have been working.
We are using 2010 Enterprise edition, and I have been tasked with creating a script that will ...
3
votes
3answers
825 views
Add group to Library permissions using powershell
I have written a script that created a document library called "Audit Logs" for every site collection in our environment. I then wanted to ensure that only Site Collection administrators and the ...
1
vote
3answers
85 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 ...
3
votes
1answer
46 views
Hide SPContenType in use
I'm trying to hide (or remove it from the new button drop) a SPContentType that is already in use via Powershell scripting.
Even if before:
$SPContentType.Hidden = $true
$SPContentType.Update()
I ...
0
votes
1answer
48 views
User based document library
I have a request regarding document library, basically the library will store each person's record, so the security is at user level. Instead of using mysite, I am now having two choices in my head:
...
1
vote
1answer
121 views
Download Versions of a SharePoint 2007 Document?
Can anyone point me in the direction of downloading all the versions of a file in a SharePoint 2007 document library?
Is this possible with PowerShell, C#, or another way?
0
votes
1answer
324 views
Synchronize Documents between SharePoint Farms
I need to synchronize certain documents between 2 Doclibs on different SharePoint Farms. This is a 'one-way-sync' meaning all changes should be replicated from A to B, not from B to A. You can ...
4
votes
3answers
6k views
Download and delete documents using Powershell
I'm looking to build a Powershell script that does the following to all documents in a SharePoint 2010 document library:
Downloads the document to a network file share
Deletes the original document ...
3
votes
2answers
542 views
Get the check out file based on users Name
My environment is SharePoint 2007.
I have write a Power shell script to get the file names and checked out by username and their email id. I am successfully able to get these details.
Now I want to ...
4
votes
1answer
441 views
powershell not finding shared document library?
There is a document library called "shared documents" in the site I type at the prompt when running this script. The script returns the titles of several document libraries, but not "shared ...
1
vote
2answers
865 views
use powershell to check whether or not a sharepoint list is a document library
I want to make some changes to all of the document libraries in a site collection, but not make changes to any other lists. In PowerShell, how can I check whether a list is a document library, or a ...
1
vote
1answer
1k views
PowerShell Script that modify items's value in SharePoint 2007 List/Library recurrently
Is it possible to have a PowerShell script that can modify some item's values in a SharePoint 2007 List or SharePoint Document Library on the last day at 2359 Hrs every month? (If it is possible, it ...
1
vote
2answers
757 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 ...
4
votes
1answer
2k views
Traverse through List of Documents using PowerShell
I am new to PowerShell and would like to achieve the following tasks on a SharePoint 2010 Document library:
1) Using PowerShell, how can I display the List of Documents in a simple Document Library. ...