1
vote
1answer
18 views

Deploy wsp without logging to SP server

Can i deploy a wsp using powershell batch file without logging to the sp server ?
1
vote
3answers
30 views

Timerjob location

I want to know, is there any way to find where timer-job is activated (url where timerjob's feature activated) using Powershell.
0
votes
2answers
27 views

How to get a list of broken links using Powershell? for Sharepoint 2010

I need a SharePoint 2010 Management Shell script that is going to generate a csv file with a list of broken links in one of my site collection and sub sites. I have no experience in writing PS ...
0
votes
2answers
28 views

incremental-update to feature in sharepoint by powershell

New to PowerShell and SharePoint, i have a sharepoint 2013 project on visual studio 2013 that contains a SharePoint List definition and instance. After adding and installing the solution and ...
0
votes
1answer
39 views

Unable to connect web parts using powershell

I am trying to connect a custom webpart (provider) to a ReportViewerWebPart (consumer) programmatically, using a Powershell script. I get the error message below when I execute the following line: ...
0
votes
3answers
36 views

Running a PowerShell script on a live server

I have been tasked with creating a report on our current SharePoint 2010 server (on prem). In this report I need to have the user/group permissions on every site and sub sites. Now I believe I have ...
5
votes
1answer
58 views

Multilingual user interface: Is it possible to Export Translations using PowerShell?

I have a SharePoint Server 2010 Enterprise with several language packs installed. The Alternate Languages have been enabled in the Site Settings and several items have been translated. Is it possible ...
2
votes
1answer
91 views

Get ULS log records programatically

Is it possible to retrieve records from ULS log using C#/SharePoint API without having to manually parse log files? I would like to display logged messages on a custom web page, and I would like to ...
1
vote
2answers
78 views

Copy files between sites with version history (powershell, SP2010)

I can copy a file from one site to another using $SPFolder_Destination.Files.Add("Filename.ext", $SPFile_Source.OpenBinary(), $false) This does not preserve version history. I think I could ...
0
votes
0answers
25 views

New-SPEnterpriseSearchQueryScopeRule required URL parameter

I'm currently exporting Search scopes from one server and importing them to another using PowerShell. The thing that has me bewildered is what -URL parameter is used for in the ...
0
votes
1answer
58 views

Powershell filter on a value

I am trying to setup a script to copy documents from a document library to a local file share. I have found a handful of ways to do this, but I have one caveat. I need script to look at a value in a ...
0
votes
1answer
68 views

Can't delete SPWeb from PowerShell or C# Object Model

I have a very strange situation - two sub webs were created through some code but it errored out part way through the process and now I am left two webs I can't seem to delete. The strange part is ...
0
votes
0answers
39 views

SharePoint 2010 PowerShell Delete folders in Document Library - See SharePoint/event Log?

I wonder if its possible to see a log file of events (deleted folders in big document library) when actions are invoked by PowerShell? The PowerShell-script it self don't push anything to a log-file ...
0
votes
2answers
78 views

Powershell script to change locked for editing to sharepoint\system status, ID not found?

I am trying to target a file to change the check out status. So I can delete it. SharePoint Management does not work. Manage Content & Structure does not work. So I am trying PowerShell. ...
1
vote
1answer
92 views

Can I add the sharepoint module to powershell? 2010 / 2013

I apologize if this has been answered but I couldn't find any answers to my question. I want to practice the power shell commands for Sharepoint (either 2010 or 2013) but I can't seem to find a ...
0
votes
1answer
69 views

Sharepoint 2010 managed metadata via powershell: can't access some fields

I'm trying to learn about accessing/setting managed metadata fields using powershell (v2) in sharepoint 2010. Based on various tutorials/forums I have the following minimal (not)working example: ...
0
votes
1answer
46 views

List.GetItems is running slow for certain sites

I'm running a pretty simple query to get back items using List.GetItems and it seems to be performing horribly on some of my sites (differing site collections). The lists being queried are essentially ...
0
votes
1answer
61 views

Get-SPExcelServiceApplication Cmdlet not recognized during Powerpivot configuration

I am trying to run the sharepoint powerpivot configuration tool however I am getting a message saying: The term 'Get-SPExcelServiceApplication' is not recognized as the name of a cmdlet, function, ...
2
votes
0answers
97 views

PowerShell script to update ContentType of existing records in Document Library

we are using Document Library in SharePoint 2010 environment. there are about 200 document present in the document library which have been identified (based on location - England and employee type - ...
1
vote
1answer
49 views

How to identify the jobs which are running?

I need to find the jobs which are running currently. This is to check the longest running jobs. Is there any powershell sript to get this done?
0
votes
1answer
36 views

Changing URL / Moving document Libraries with Powershell

I have 100s of Document Libraries with documents in them. The path is: CustomerNumbers/Lists/Documents, I would like to move them 1 folder out; to CustomerNumbers/Documents. All metadata must be ...
4
votes
1answer
94 views

Unable to delete timer jobs

I have a few timer jobs which I cannot delete. Using Get-SPTimerJob I am able to find the jobs and the GUIDS, but when I try to delete them I receive the following error: PS C:\Windows\system32> ...
1
vote
1answer
104 views

Trying to restore backup for version 14.0.0.7105

We've been given a SP2010 backup (.bak) file to restore. At this time I don't know if it contains a site collection or a site or a farm, or how it was generated, and have no way to find out (just ...
0
votes
1answer
85 views

UserProfileService GetUserProfile Modified Date in 2010

I have a problem when loading a UserProfile from the UserProfileService in Powershell. I am able to get a list of properties, however I can't seem to find when the profile was last modified. The one ...
3
votes
2answers
287 views

Powershell regular expression syntax for matching exactly 6 characters that start with two letters at end of url

I have been trying to get a regular expression right for the powershell match command. I am looping through all site collections in a web application (my sites have URLs SC followed by exactly 4 ...
1
vote
1answer
44 views

IRM enabled different for interface than with powershell

Learning about IRM and how it works, please help me understand this situation. Why does powershell show that IRMenabled is true, but the web interface doesn't reflect that IRM is being used? IRM is ...
1
vote
1answer
85 views

Viewing the existing MySiteHostLocation for the SPProfileServiceApplication

I've found plenty of example of how to set the My Site host location for the User Profile service application. On the Start menu, click All Programs. Click Microsoft SharePoint 2010 Products. ...
2
votes
0answers
47 views

Powershell list.workflowassociation not working right

I encountered recently a weird problem. I'm using a powershell script to : - save all workflows autostart properties (from all lists/webs/sites) - make modifications to items in the lists - restore ...
2
votes
0answers
39 views

Managed Metadata import/export in subsites

I am attempting to export/import the managed data in a library of a subsite on my intranet. When I attempt to use the taxonomy tools that are up on Codeplex, or when I use code such as this, I am ...
1
vote
2answers
38 views

Use of powershell with sharepoint

I was wandering what were the possibility of interaction between powershell and sharepoint. Almost all our documentation at work is on sharepoint and was wandering if I could access the metadata ...
0
votes
2answers
32 views

Copy site collection without duplicating guids

On our DEV farm I've got a site collection containing a variety of sites and subsites within. Many of them came from our PROD farm. Now, I'd like to copy this site collection on our DEV farm back to ...
0
votes
1answer
39 views

Unable to remove site collection: Operation failed due to an error in Identity Mangement

I've restored a site collection to a different SharePoint farm. Now i am trying to delete the site collection: Using Powershell: Remove-SPSite http://farm/sites/Site_Collection Error: ...
2
votes
0answers
42 views

How to speed up saving a list as template

I want to save a library as a template. For this I use the following PowerShell code $id = [Guid]::NewGuid() $templateName = [String]::Format("{0}-{1}",$list.Title,$id.ToString()); ...
0
votes
0answers
57 views

Error when trying to sync Actve Directory Photos

I am trying to sync the photos from the Active Directory with Sharepoint 2010. I am following the instructions at : ...
1
vote
1answer
276 views

Download/Export solution from site solution gallery

I'm trying to automate the process of downloading one solution and then add/install the same solution to other site collections. The first thing to do would be to download the freshly created solution ...
3
votes
2answers
141 views

Access Denied from Migrated SP2010 -> 2013 Web App

I've migrated a web application's content database from SP2010 to SP2013. After the migration was complete, I am completely locked out of the web application. Navigating to the root site collection ...
2
votes
2answers
498 views

Powershell to delete checked-out documents with no checked-in version

I have created a script to delete all documents inside a library, including documents in folders and the folders themselves. However, it seems that the script will not remove documents that have no ...
2
votes
3answers
368 views

Differentiate between custom timer jobs and system timer jobs

Is there a way to differentiate between custom timer jobs and system timer jobs. Under Central Administration - Monitoring - Job Definitions I see all the jobs defined on the farm. I´m new to this ...
2
votes
1answer
42 views

Retrieve Custom Workflows Info

Via SharePoint Designer it's possible to verify all Site Collection Workflows (on the Workflows List) grouped by type. How can I via Powershell retrieve all that info displayed in the SPD Workflows ...
0
votes
2answers
142 views

Powershell and accessing Audiences

I'm trying to build a fully functioning powershell script that will merge user accounts, loop through all the site collections and delete the 2 user accounts, then execute audience compilation. I've ...
1
vote
2answers
46 views

Upgrading PowerShell to 3.0 [closed]

I've just installed PowerShell 3.0 (KB2506143 - Windows Management Framework 3.0) on my SharePoint 2010 Web server (Windows Server 2008 R2 SP1). When I checked version with PowerShell using ...
2
votes
2answers
239 views

Error in calling SystemUpdate

I have the following PowerShell script which will update the TemplateUrl field for all forms in a form library. $newTemplateUrl = "http://SPSERVER/FormServerTemplates/NewFormTemplate.xsn" $web = ...
1
vote
1answer
111 views

How do I modify the elements.xml for the default.aspx page using powershell or C#?

On SharePoint 2010, I have a site template solution created by saving a site as a template. Recently I modified the template in Visual Studio - I needed to change the markup for several ...
4
votes
2answers
5k views

Powershell script to find permissions for a specific user

what am i doing wrong user.ps1 $user = "sp2010\systemsacct" $site = $gc | Get-SPSite sp2010 $site | Get-SPWeb -Limit All | Get-SPUserEffectivePermissions $user Out-GridView -Title "Web ...
1
vote
0answers
71 views

Remove Content Type Hub URL

I used a Powershell script to add the URL for the Content Type hub, as in the picture below. Now I wish to remove this URL. Not replace it, but remove it altogether using PowerShell. Is this ...
1
vote
1answer
73 views

Create GUI to run sp-commands using c#

I have a requirement to create a GUI that talks with sharepoint management shell and gives the output then and there. i tried the solution given here ...
0
votes
2answers
63 views

SPCopyDestinationCollection.Add() Method Does Not Persist to the Database

I'm attempting to run a basic PowerShell script to fix a lot of broken "Send To" destination links that resulted from a site migration from one farm to another. I wanted to proof-of-concept this on ...
1
vote
1answer
82 views

How can I load PowerShell 2 PSCX modules on a SharePoint Server that has PowerShell v3 installed?

My current environment of SharePoint 2010 Enterprise Server is having some of the servers updated to support PowerShell v3. At the moment we utilize PowerShell to manage some of the SharePoint Server ...
0
votes
0answers
172 views

Error during Import-SPWeb

I am trying to exporting from my developing machine which has a backup of the content database, and importing it back in the production farm. Running: Export-SPWeb -identity http://mysite -Path ...
0
votes
2answers
321 views

Cannot export a Document Library with Powershell, but other Lists work

I'm trying to do an "export-spweb" command in Powershell to mass-transfer lists and libraries from one site to another. Now, it partially worked, in that all my Lists that were not Doc Libraries ...