Tagged Questions
0
votes
0answers
4 views
how to change Catalog settings of a list by powershell
I would like to change catalog settings of Pages list to make it akt like a Catalog by using powershell. It includes adding Title as "Catalog Item URL Fields" and choosing a Term Set for "Navigation ...
0
votes
0answers
22 views
One or more field types are not installed properly, how to check in which field is it failing?
I am getting this error in a timer job that I did not develop.
Error: One or more field types are not installed properly. Go to the list settings page to delete these fields. ...
1
vote
2answers
43 views
Recreate a List in many subsites of a site collection using powershell
I have to recreate the same List in several subsites within a site collection. I saved my List as a template but it will be very time consuming to add the List manually to all of my subsites using the ...
0
votes
1answer
88 views
Powershell Script to generate site collection administrators, site URL, Site Name,Members in the group named 'owners'
I have a requirement currently to generate all the Sharepoint site in a Web application with the following information:
Site URL
Site Name
Site Collection Administors : ID or name
Members in the group ...
0
votes
0answers
86 views
List View Webpart is not getting added while activating feature using powershell
I created a feature and on activation of it I am trying to add list view webpart.
Using powershell command activating feature and it gets activated but List View Web part it is not getting added on to ...
3
votes
1answer
593 views
Powershell to List GUIDs of Lists and Libraries but how to seperate
Working on a script that will dump out all of the lists and libraries in a site, I found the script on Mike Smith's Blog: ...
0
votes
0answers
51 views
Update KPI Lists Script
I have about 400 KPI lists, and an error in one of the KPIs on each list. Is there a way I can update all of the lists automatically? I cannot use .NET, but a shell script is within an acceptable ...
0
votes
1answer
501 views
Changing the order of columns in a list view - Powershell
I am trying to add a new column called "REF" to all existing views using powershell which I have succeeded in doing, however when adding the column it is automatically added to the end of the array ...
2
votes
1answer
96 views
Programatically update field/column name in a list on all sub sites [Powershell]
What I want to do is with a Powershell script programatically go through all subsites in a site collection and change a column name in a list from "Web" to "Site".
So in easier words:
Go through ...
1
vote
0answers
321 views
Why is my SPD 2010 workflow running twice?
I've got a support case for a client, and they have a super simple workflow on a list. It simply sends an email to a user from a person field, whenever an item is added to the list. The client ...
0
votes
1answer
313 views
Power Shell List Item Copy
I am trying to copy a list from one web app to another web application .All the list items are copying fine except for Contact Details (which is column of type person).This column is showing empty . ...
0
votes
0answers
195 views
Stop Powershell Script asociated with list sharepoint
I created the next script with powershell and it updates all the items in a list:
Add-PSSnapin "Microsoft.Sharepoint.Powershell"
$site = Get-SPWeb -identity "http://mywebsite"
$list = ...
0
votes
1answer
318 views
Deleting all alerts on a sharepoint list using powershell?
I understand alerts will only be show to those who created them.
However I am on a test site and would like to rid the list of all alerts.
Is there a way to do this programatically.
I can seem to ...
1
vote
2answers
211 views
check if versioning enabled on sharepoint 2010 list
I have a PowerShell script that updates document libraries to make sure that versioning is enabled:
$list.EnableVersioning = $true
How can I check whether versioning is enabled before making the ...
0
votes
1answer
87 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 ...
0
votes
1answer
2k views
PowerShell to iterate through all SharePoint Lists
Is it possible to iterate through all the lists in a site collections and create a folder name "Test" using PowerShell?
Fine Regards
0
votes
4answers
4k views
How to delete all items in aList using PowerShell
I am using following PowerShell script to delete all items of the List. It's working fine but take too long for huge lists. Is there any efficient way of clearing list items, something like truncate ...
2
votes
2answers
2k views
get Items from Sharepoint-list
I've created a list in sharepoint by using visualstudio. The List is based on a custom contenttype. Because I want to delete the title field I've switched off inheritation of the Contenttype:
...
0
votes
1answer
132 views
PowerShell or script to make all lists and libraries unsearchable?
I realize I can do this at the site or site collection level (can't remember which). However, I need every one turned off individually so that I can then go back and choose which libraries/lists are ...
0
votes
1answer
94 views
Trying to create list with ECT
I'm trying to create list from External content types with powershell. I'm trying to get the model, through this line :
$Model = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType Model -Name ...
0
votes
2answers
1k views
Using Import-SPweb -IncludeUserSecurity slow
I am quite often asked to move lists/document libraries etc. between Sharepoint sites and retain the Author, Modified by data and the like. Now I can do this fine using the -IncludeUserSecurity switch ...
0
votes
2answers
227 views
Is it possible to start a workflow instance on a list item when the workflow is not associated with the list?
I am writing a powershell script to find out all the In-Progress workflow instances in a site collection. Usually, the suggested way to do this is to find associated workflows to a list and check the ...
1
vote
1answer
451 views
Indexing sharepoint lists with ps
I would like to index a column in a list with powershell.
I have a problem, when i retrieve the list how can i set what field should be put to index? Is there a special command, can anyone provide me ...
1
vote
2answers
530 views
PowerShell Scripts
Does anybody know if there's some way to delete items from an SPList using PowerShell scripting?
If is this possible, has anybody any good tutorial?
Thanks!!!
0
votes
1answer
2k views
Create a list with powershell
I need to create one list with powershell with the following columns
Title
Url (255 max length)
Description (255 max length)
It must be a custom list. There is no need to create site columns or ...
3
votes
1answer
477 views
Moving list from one environment to another while preserving the GUID
I have a list template (.stp) file. I would like to restore the list and its contents in any given SharePoint environment. The conditions for restoring are listed below:
Restore the list to any ...
1
vote
1answer
74 views
Can not turn of notifications (SP 2010)
I'm about to update 300 items in a list that I know lots of users are subscribing to (notification by email on every item update event). I've tried turn this off by using STSADM:
stsadm -o ...
4
votes
1answer
436 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
843 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 ...
2
votes
2answers
2k views
How to read items in a BCS external list with PowerShell?
Is there a way that you get information from an external list (created from SPD for a specific ECT) differently than you do from a "normal" SharePoint list when using PowerShell?
I did the following:
...
3
votes
2answers
734 views
How to modify a list's template?
I have a list that was created from a Custom List template. Most users have been interacting with it through a calendar view that was created. Now, some users would like to connect this list to their ...
1
vote
1answer
1k views
PowerShell script for searching lists for specific links?
being both quite new to both PowerShell and SharePoint 2010 I'm wondering if there is any way to make a script for searching a lists for links that begins in a certain way? I want to find all the ...
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
1answer
1k views
How can I get an SPList's URL?
Say I have a list named Links. Is there a way, through .NET and Powershell, to retrieve the URL for this list? In this case, the URL I'm looking for would be "/Lists/Links".
1
vote
2answers
743 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 ...
1
vote
2answers
1k views
How can I use Powershell to move a list from a development to a production Sharepoint 2010 box?
I'd like to copy a list (and its contents) onto our production server. I've been trying to use the Export-SPWeb cmdlet, using this article as a reference, but I can't seem to get it to cooperate. I've ...
1
vote
1answer
750 views
SharePoint 2010 - Add filter to a list with PowerShell
How it is possible to add a filter to a list with PowerShell?
(I want to add a filter to multiple lists)
Is there any tutorial, articel or example?
0
votes
1answer
548 views
Powershell script (remote) to copy List items from MOSS 2007 to SharePoint Server 2010
Any one has any ideas if we can write PowerShell script from a server which does not have SharePoint installed to copy list items from a MOSS 2007 site (MOSS server) to SharePoint 2010 (SP2010 ...
4
votes
1answer
4k views
PowerShell - create list from list template in list template gallery
Using PowerShell on a SharePoint 2010 site, how can you create a new list from a list template found in the list template gallery?. I want to be able to add several lists at once (just in numerically ...