Tagged Questions
1
vote
3answers
5k views
Sharepoint webpart deployment - activate features error
I'm a noob to Sharepoint development, actually I hoped I'd always be a noob to it, and I'm having difficulty building my first web part for a Sharepoint 2010 website. I'm using Visual Studio 2010, and ...
0
votes
1answer
38 views
Sharepoint Powershell update every second list item
What I need to do is write a Powershell script withc would update every Second item in list. As I see it, i need to use somethin like this:
$web = Get-SPWeb http://YourServer/
$list = ...
0
votes
1answer
65 views
Powershell Column Removal Script - SharePoint
I have a csv file that has multiple lines of text and columns. I want to write a script that will assign each column a variable from a single row one at a time and move to the next row. Basically, ...
0
votes
0answers
59 views
provision central admin in sharepoint, but add the IIS path settings
Is there a way to add the IIS setting path to the provisioning of a central admin? Currently when I provision it is going to D:inetpub, and I want to change it to go to F:inetpub when provisioning.
...
0
votes
1answer
52 views
Sharepoint CSOM OpenBinaryDirect in Powershell, Method not found
I'm trying to use powershell and Sharepoint 2013 CSOM to copy attachments of one item to a new item in another list. I've been able to successfully generate an attachments folder for the new item, so ...
0
votes
1answer
87 views
Sharepoint Online 2013 CSOM constructor error for AttachmentCollection object?
I'm writing a script to copy items from one list to another on a sharepoint online server. I'm using the 2013 sharepoint Client Side Object Model (CSOM) to script this in powershell ISE. This should ...
1
vote
1answer
22 views
The Post-Predeploymet SharePoint does not recognize some terms
In SharePoint Post-deployment command Line I have: %windir%\sysnative\windowspowershell\v1.0\powershell -File "$(ProjectDir)Scripts\Post-Deployment\Script.Post-Deployment.ps1"
After running the ...
0
votes
0answers
75 views
Remote PowerShell for Sharepoint: Invoke-Command won't run Add-PSSnapin on remote server
I'm writing a powershell script to perform some archiving functions on our sharepoint server. I'm testing this script with a server hosting Sharepoint and a remote computer running powershell. The ...
0
votes
1answer
156 views
How can I get the date of the last Full Crawl in Sharepoint 2010 using Powershell?
I can run the following to get the current crawls and from there determine the last crawl completed date.
# Get the Search App from Sharepoint
$searchApp = Get-SPEnterpriseSearchServiceApplication ...
4
votes
4answers
3k views
PowerShell 3.0 Sharepoint scripts not working
Today my powershell updated to version 3.0. This version is build against and uses .NET runtime 4.0. The Sharepoint 2010 cmdlets require .NET 3.5 and don't work under 4.0. Anyone has an idea how to ...
2
votes
1answer
774 views
SharePoint 2010 - Change favicon for a SiteCollection
It is possible to change the favicon in the adressbar for a SiteCollection?
I want to change the icon only for one SiteCollection in our environment.
Is there a PowerShell Command? I don“t want to use ...
0
votes
0answers
43 views
Update an item property in SharePoint 2007 using stsadm PowerShell
So what I'd like to automate is updating the status of a SharePoint list item.
I'd like to execute the script and for it to be able to loop through a page's Name column to evaluate the property of ...
0
votes
1answer
115 views
Remove all site collections under one specific path
I have a web application with 100 site collections under the /sites/ path.
Also a root site collection in the root /
I need a powershell script to delete all of them except the root site collection.
...
-6
votes
3answers
154 views
Is there any tool that can do c# code to powershell
I was wondering if there is an online tool that can convert c# code to powershell cmdlet code. I have following code that i need to have it powershell. I dont have visual studio to turn this into an ...
0
votes
0answers
217 views
PowerShell set SharePoint User Profile Property to a specific section
I am using PowerShell to add user profile properties to the User Profile Properties service.
Right now they are being added into the "Custom Properties" group. Is there a way to specify which group ...