2
votes
1answer
84 views

Need site inventory tool for SharePoint 2007 that doesn't require server access

We're migrating from 2007 to 2010 and I need a full inventory (site, libraries, lists) so I can remove stuff that's no longer being used. However, everything I've found so far requires server access. ...
0
votes
0answers
40 views

Find all InfoPath forms in the entire SharePoint 2007 SiteCollection

We're going to migrate a SharePoint 2007 instance to SharePoint 2013. We want a report with all the InfoPath in the entire SiteCollection (+1000 sites, so with PowerShell). I've found some scripts, ...
0
votes
1answer
189 views

Sharepoint 2007:How to export all list items to excel 2007 using object model in powershell script

Sharepoint 2007:How to export all list items and columns to excel 2007 using object model in powershell script
0
votes
3answers
199 views

Create a document library from custom list definition with powershell

I have a question regarding the creating a Document Library based on the custom list definition, how can I do that using the PowerShell. Thanks
0
votes
3answers
150 views

The way to modify the content of wp on all pages

I have a question, basically I have a SharePoint 2007, and I have some particular pages a cross the portal which contain a Content Editor Webpart. I would like to be able to modify this CEWP, by ...
1
vote
0answers
203 views

How do you Import a list item from a .cmp file using powershell?

I have implemented the code located at this link to export and import a list to a cmp file using powershell and the SPDeployment functions. While trying to better understand this code I came to the ...
0
votes
2answers
2k views

Sharepoint 2007 Powershell: $item.update() gives error that file has been modified

I am trying to programmatically update some metadata for a sharepoint item using powershell. Here is my code: $web = getWebByURL("http://test-site/spadmin/") $itm = $web.lists["Documents"].items[0] ...
0
votes
2answers
98 views

How to properly dispose of sp 2007 object in powershell?

First and foremost I've done A LOT of googling and even went past the first page or 2 :) so feel free to direct me to the proper post if necessary. I am trying to loop through a bunch of webs and ...
0
votes
1answer
365 views

How to add an existing group to a newly created site through poweshell?

I am creating sites through powershell and creating the groups for them. I have a situation where if the group is already existing group then I have to add that group to the site. Coz might be ...
2
votes
2answers
54 views

How to know the root web memory size in a site colelction

I need to get the memory consumed by the root web of the site collection. How could we know this using powershell scripting? Any ideas, please share me. Note- My farm is running on MOSS 2007.
1
vote
2answers
212 views

Error while updating SiteLogoUrl with Powershell

I am trying to update the Site Logo Url for all the sites in my web application with powershell. The script executes correctly in my dev environment but fails to execute in production and gives an ...
1
vote
4answers
1k views

how to paste powershell script onto the Shell

I am trying to paste powershell script from a website but it doesn't let me right click on powershell console neither "Crtl + V" is working i downloaded powershell V.1
1
vote
1answer
280 views

Is there a way to move files with the SP Object model in MOSS whilst retaining meta data?

Is there a way in SharePoint 2007 to move a file from one document library to another, in the same site collection programatically? I made this post about this on StackOverflow, with a bounty not too ...
5
votes
2answers
3k views

Move files between document libraries in the same Site Collection (#2)

Quick note: First and foremost - this is somewhat in line with a previous post of mine found here: Move files between document libraries in the same Site Collection however I've opened a new question ...
0
votes
1answer
417 views

PowerShell Script: HashTable error

I wrote a PowerShell script which will loop thru all the sites in the web application and add Field internalname and title to the HashTable. So i pass this HashTable from one function to another. But ...
0
votes
1answer
124 views

How to identify if the list field come from web or site col?

I have a following task in sharepoint 2007 to identify if the list fields come from the parent web or site col, this i'm planning to do with a powershell script. So what I want to do is to iterate ...
1
vote
1answer
219 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?
1
vote
1answer
805 views

Powershell and SPSecurity.RunWithElevatedPrivileges

I have a couple MOSS dev environments that need to have a script to restore the content databases from production. Part of the script has to set the site collection administrators to the user of the ...
0
votes
1answer
261 views

Edit SharePoint 2007 Profile PersonalSite by code?

Does anyone know how to programmatically change the Personal Site field in their SharePoint Profile programmatically? I can do it via the GUI on the SSP server, but that takes an unacceptable amount ...
5
votes
1answer
2k views

Get total size of attached files on all list items in SharePoint 2007with PowerShell v2.0

Using Powershell, I have to get the total size of all attached files on all list items for a generic list. I tried using the function below but this displays the total length of names for the attached ...
1
vote
2answers
141 views

Output workflows associated to all lists in a web application

Still very new to Powershell. I've adapted a script I found here to display information I want to see about workflows for a particular list. That looks like this: ...
2
votes
1answer
761 views

Powershell script to list LastContentModifiedDate

I'm a beginner to Powershell 1.0 and I'm looking to pull some information out of the Sharepoint 2007 farm as we start the upgrade to 2010 planning. This is what I'm wanting to do, but having some ...
2
votes
1answer
433 views

Powershell script to add Content Types

Very new to Powershell 1.0 on Sharepoint 2007. I've got a site collection with many subsites. These subsites all have a document library called Reviews. What I need to do is add a new content type ...
1
vote
1answer
305 views

Use PowerShell to manage a SharePoint server from a client

Sorry if this has been asked frequently, but can anyone provide guidance on how to use PowerShell to manage a SharePoint server from a client machine (ie - PowerShell not running directly on the ...
1
vote
1answer
150 views

filtering and though a sharepoint list items with powershell

I have tried below but not getting any result back Not sure if i'm doing this well. Can i filter in the foreach or in my if statement Thanks in advance [DateTime] $CreatedDate = $item["Created"] ...
0
votes
2answers
925 views

How can I delete all alerts for a user in Sharepoint 2007 without visiting every site?

A user leaves the organisation. Their account is removed from active directory. Their user object does not get removed from Sharepoint, and their alerts remain in place. This generates ...
2
votes
2answers
810 views

Updating a list column thro' a PowerShell script?

I have a sharepoint 2007 list and it has many items, I want to update a column in an item thro' a powershell script even if the item is current edited/locked by someone else. Is it posssible?
1
vote
2answers
89 views

Is there a way to tell if an IIS site is connected to SharePoint?

I'd like to run a script report back what IIS Sites are SharePoint and which ones are normal sites. Using the following command in powershell, I get a long list of properties of the application pool, ...
6
votes
2answers
165 views

What is a good way to build/install/provision a full web application?

I have a fairly simple SharePoint web application, with a publishing front end, an extranet for customers and an intranet portal. I want this web app to be easily redeployable -- pretty much a ...
1
vote
1answer
300 views

Getting a web service with Powershell

I wanted to update a web application web.config via Powershell, and found this post really helpful. I'm intrigued as to how to this bit of code works, particularly the $closedMethod / ...
1
vote
1answer
175 views

List of Solution packages are in the solution store

How to find a list of Solution packages are in the solution store in sharePoint 2007 using Powershell?
0
votes
4answers
2k views

how to keep two sharepoint list in sync when located in 2 different servers

I two lists one is on site A which is on server A and the second one on site B on server B So i decided to use Powershell to export the list on site A and then grab the export and load it to the list ...
0
votes
1answer
805 views

Setup an item level auditing for a sharepoint document library

I would like to setup an item level auditing (Opening or viewing or downloading) for a sharepoint 2007 document library without enabling audit for the entire site-collection. This link may help us ...
0
votes
1answer
171 views

Exception setting ApplicationPoolPassword

Following the example in this blog post, I am trying to create a new Web Application with PowerShell. However, when I try the line: $WebAppBuilder.ApplicationPoolPassword = "password" I receive ...
2
votes
1answer
725 views

Migrating My Sites to new dedicated site host

We have taken over a site where My Sites are placed in the Intranet web application. I want to migrate the My Sites to a dedicated host site. From what i have been able to find out so far, I will ...
0
votes
6answers
1k views

SPWebConfigModification is throwing an error

I am trying to update the web.config file through Powershell using the SharePoint class "SPWebConfigModification" however facing the issue mentioned below, please help me to fix this. ...