1
vote
1answer
27 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 ...
2
votes
1answer
37 views

How to turn off MDS on all site collections and sites?

We have got a web application with 400 site collections and multiple sites, is there a way to turn off the MDS feature for entire web application?
0
votes
2answers
92 views

Removing a permission level from a sharepoint group with powershell throws principal not found

I have the following script, basically I need to iterate over all subsites with a specific template, and in one of the existing SP groups I want to remove a permission level. The script below is ...
0
votes
0answers
22 views

Enable-SPFeature not working in scheduled task

I have a powershell script that runs every 5 minutes it creates a subsite on a Site Collection the last part of the script activates the SiteNoteBook feature in SharePoint 2013. I added all the new ...
3
votes
1answer
251 views

Get User by loginname using powershell

We have the following script that was running on sharepoint 2010 where we had clasic windows authentication. When we moved to SP 2013, the authentication was changed to Claims. The following code ...
2
votes
1answer
59 views

SharePoint deployment - Deployed to: GAC (WebURL/Global) / BIN

I know that when we deploy farm solutions then they are available under Central Admin --> System Settings --> Manage farm solutions. In this list of solutions, there are 3 columns. Name, Status and ...
1
vote
1answer
77 views

Cannot validate argument on parameter 'SBClientConfiguration'. The Service Bus connection string contains invalid property.

I am trying install workflow manager using powershell. I first downloaded the offline package using these steps: ...
1
vote
1answer
202 views

No Connection between SP2013 and Workflow manger

Goal: Install Workflow manager in order to use SharePoint 2013 workflow. Problem: When I try registrating between SP2013 och WorkFlow manager based on the code: Give this command ...
0
votes
1answer
111 views

Approve Workflow Task With PowerShell [closed]

We have over a thousand approval workflows running and I would like to write a PowerShell script to go through and approve the items from the system account. I already wrote the script to get the ...
0
votes
1answer
95 views

Running script with powershell of Sharepoint Server without connecting to the Sharepoint Server

I have a folder in Sharepoint Server. In the folder, there is a script(.ps1 file), that I can run with powershell. It works fine with powershell, if I run it when I'm in Sharepoint Server. But I ...
1
vote
0answers
28 views

SharePoint 2013 Central Administration vs PowerShell Scripting

Which are the admin jobs that can only be done trough PowerShell scripts and not in Central Administration?
0
votes
1answer
88 views

Looking for a Powershell script to enable SharePoint Server Publishing on all sites in a site collection

I'm looking for a Powershell script to enable the SharePoint Server Publishing site feature on all sites in a single site collection or all site collections.
0
votes
1answer
81 views

how to export/import managed properties and mapping to align them accross environments

I have backed up a content db from prod to dev environments. Everything works fine, but I noticed the managed properties are not aligned across environments Obviosly I dont want to do this manually ...
0
votes
1answer
50 views

how to get with powershell the list items which have old versions of a workflow running

I have in the following screenshot many workflows, but some of them are abandoned by the users and I need to identify which ones. As I cant install sharepoint designer, then I need to do this with ...
2
votes
1answer
68 views

Upload user profile images from desktop to sharepoint using a windows service

All, I was so glad to find this community. I am sharepoint newbie and just started working on Sharepoint 2013. My task is to upload and set user profile images which are saved in a local disk (share ...
2
votes
1answer
89 views

Set SPNavigationNode to open in a new window using PowerShell in SharePoint 2013

Based off of several blog posts I attempted the code below: $n1 = New-Object -TypeName "Microsoft.SharePoint.Navigation.SPNavigationNode" -ArgumentList "People", "http://myURL", $true ...
0
votes
0answers
58 views

Subscription settings service application won't install with PS

Ran this script once on one farm with success but now on a new farm it won't run. I got this same error the first time I ran it. It doesn't matter if I run it again to remove it. Here is the ...
1
vote
1answer
101 views

Disable site collection health check rule

Is there anyway of disabling/bypassing a site collection health check rule. For example, I want to bypass Missing Site Templates rule when I upgrade a site collection in SP 2010 mode to SP 2013. For ...
0
votes
1answer
375 views

2013 Content Index Reset Timeout

I'm having a problem when I try to reset the content index in SharePoint 2013. When I try to reset the index from the 'Search Administration Page', the page hangs for about a half-hour then returns ...
1
vote
0answers
76 views

How can I count the number of posts & comments in a SharePoint 2013 newsfeed?

I need to count the number of posts & comments in a SharePoint 2013 newsfeed webpart on a page in a site. At the moment I can't see how to do this via Site Settings -> Report or Site Settings -> ...
1
vote
1answer
55 views

Suppress PowerShell Warning

How can I get rid of these warning? If these warning cannot be eliminated how can I suppress them? For instance, the warnings happen at this line: $sourceWebSite = Get-SPWeb -Limit All -Identity ...
1
vote
1answer
111 views

Problem with SP2013 solution scope: WebApplication vs GAC

I have a SP2013 solution that contains a custom WCF service, custom Timer Job and a Feature Event Reciever. Because of these the solution Assembly Deploying Target is set to GlobalAssemblyCache. The ...
0
votes
1answer
35 views

Can't get any SharePoint services thru PowerShell

I'm trying to grab the Distributed Cache service using PowerShell so I can change the managed account that runs it. This cannot be changed through the CA UI. I am not able to get the service using ...
3
votes
2answers
61 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 ...
1
vote
0answers
174 views

SharePoint 2013 MetaNavigation Problem deleting Termsets

The following is just a test script borrowed in part from http://goo.gl/Cw1D8h "Powershell to create and reuse Managed Navigation for multiple sites in SharePoint 2013" The following script works ...
1
vote
1answer
359 views

Unable to execute: Add-PSSnapin Microsoft.SharePoint.PowerShell

I'm attempting to use the PowerShell ISE on a Win 2012 Standard Server. I followed the steps here (http://sharepointpromag.com/blog/powershell-and-sharepoint-step-1-loading-dlls-and-snap-ins) to add ...
1
vote
2answers
59 views

How do I create an SPSite object in powershell that references a remote farm?

I'm writing some powershell and I can easily access local farm resources but I would like to access a remote farm? Is this possible? The code works below when targeting the local server: $site = ...
1
vote
2answers
80 views

Applying link with varying image to SuiteBarBranding -element across the site collection

I've followed these instructions to change the default header of the SharePoint(2013)'s site. The code I used is this: $webApp = Get-SPWebApplication https://<intranet> ...
0
votes
0answers
23 views

How to find all places where SharePoint 2013 uses a particular Windows account?

I am trying to debug a completely broken SharePoint 2013 site. I was able to grab the error logs for the correlation id (25 MB!) using get-splogevent -starttime (get-date).addminutes(-20) | ...
1
vote
2answers
54 views

Editing CreatedDate on a publishing page using powershell

I am trying to move some publishing pages from an old SharePoint server to a new one using powershell. When I try to update the createdDate it says the property is read only. Is there a way to change ...
0
votes
1answer
49 views

configure claims authentication in Sharepoint Which has configurd in 2 different servers

I am trying to implement claims based authentication in SharePoint which is configured in 2 different servers, previously it was in one server and it worked fine with a custom STS(.net mvc ...
2
votes
1answer
271 views

How to check user has visited site collection first time?

I want to know which users have visited the site first time from the added users. For ex, I have added 40 users in the sharepoint but only 10 users have logged in and 30 have never logged in the site. ...
0
votes
1answer
555 views

Setting “Chrome Type” to “None” for a web part using power shell

I have added a custom web part on page. Some how I am not been able to change its Chrome Type to None because when I mouse over the corner of web part where the arrow is supposed to show under ...
1
vote
1answer
259 views

Import-SPWeb Issue

I’m trying to move a subsite in another site collection. I follow this article: http://www.codeproject.com/Articles/356985/Moving-a-Sharepoint-Sub-Site-to-its-own-Site-Colle Export works fine, but ...
1
vote
2answers
112 views

Solution “Not deployed” yet actions are successful

I have an odd problem with a farm where solutions are marked as "Not deployed" yet looking at the last operation it shows "Deployed Successfully" and lists all the servers as being successfully ...
2
votes
2answers
146 views

EnsureSiteAssetsLibrary throwing exception

The short story, when trying to execute SPListCollection.EnsureSiteAssetsLibrary I get: Exception calling "EnsureSiteAssetsLibrary" with "0" argument(s): "A list, survey, discussion board, or ...
0
votes
1answer
62 views

create new-spweb using given password and username in powershell

i want to create a new sub site using power shell but by a given user as in context, how can i do this. I am using New-SPWeb Cmdlet.
0
votes
2answers
97 views

Remove SecondaryOwner from site collection with powershell?

Does anyone know how to remove the secondary owner of a site collection with the help of powershell? I know how to set the SecondaryOwnerAlias with the help of powershell but so far I did not find ...
0
votes
1answer
142 views

Using Content Enrichment without developing a custom WCF Web Service?

Reading the article How to: Use the Content Enrichment web service callout for SharePoint Server it looks like I need to develop my own WCF Web Service to use the Content Enrichment. The list of ...
1
vote
2answers
1k views

How do you apply a theme with powershell in 2013?

I'm writing a powershell script that creates a number of site collections. I want to programmatically set the composed look to "Sea Monster". Through the web UI I go to Site Settings > "Change the ...
0
votes
2answers
943 views

Get user id with powershell

I'm updating custom fields in a document library and I have to set a value for the person that's responsible for the file. On the frontend I put the AD account name in the field but it is stored as a ...
1
vote
1answer
1k views

How to update document meta data using powershell

I'm iterating through all files of a document library using powershell trying to update some files in some folders. I can read the file properties but I'm not able to update them. Here is my code: ...
0
votes
1answer
53 views

Is it possible to specify content database name while creating the Excel Service Application using powershell script?

I want to create the Excel Service Application as it is required to use the Excel Web Access Web Part. Firs I tried to create the application using sharepoint but GUI not providing facility to specify ...
0
votes
0answers
197 views

Calling Enable-SPFeature in SP2013 with CompatibilityLevel isn't working

In an SP2013 environment running in SP2010 mode has anyone successfully called the Powershell command -- Enable-SPFeature while specifying the compatibility level? Example: Enable-SPFeature -identity ...
2
votes
3answers
400 views

PowerShell Error, Invalid URI: The format of the URI could not be determined

i have typed the following inside PowerShell:- PS C:\Windows\system32> Restore-spsite ? cmdlet Restore-SPSite at command pipeline position 1 Supply values for the following parameters: Path: ...
1
vote
1answer
636 views

Backup Sharepoint 2013 site using powershell or stsadm

I am trying to take backup of of my sharepoint 2013 site http://something1:6060/ using powershell or stsadm but getting some errors. Using Powershell command:Backup-SPSite "http://something1:6060/" ...
0
votes
1answer
75 views

Create link “node” instead of “NavigationNode”

I'm able to create subtitles in my sites. I create title under others, this create subtitles. I use New-Object Microsoft.SharePoint.Navigation.SPNavigationNode which create titles, but what the object ...
1
vote
1answer
699 views

Can't create User Profile AD mapping using PowerShell in 2013

Using PowerShell, I want to add properties to the user profile in 2013 and map those properties to be synchronized with Active Directory. I can create the properties fine as well as the ...
1
vote
1answer
327 views

How to embed javascript code in a page using Powershell?

I have a powershell script that creates article pages in a publishing portal site collection. As part of that script I insert the content for each page by setting the value of the $item["Page ...
0
votes
1answer
314 views

SharePoint 2013 - Edit TopNavigationBar

I want to edit an item in the TopNavigationBar with a PowerShell script. I´m using a Windows Server 2008 R2 (English) with SharePoint 2013 (German). My PowerShell script says that the Title is ...