0
votes
1answer
20 views

Missing operation name or the operation name is invalid

I run the following power shell command inside SharePoint 2013 power shell window:- PS C:\Windows\system32> stsadm -o gl-fixpublishingpagespagelayouturl -url "http://gvstg01/wikilibrary/52" -scope ...
0
votes
0answers
10 views

Save as template PowerShell

As in my previous question : Upload site template PowerShell I tried to upload a saved Site Template (.wsp file) to my new Site the way i can create new subsites based on this Site template, when i ...
0
votes
1answer
45 views

Need help using powershell to create list items

I based my code from this example it stated it had the ability to create list items with attachments from existing list items in a new list. I liked this example because I would like to archive old ...
2
votes
2answers
24 views

SharePoint group not visible

I created a new SharePoint group using UI. I do not see the group using: $web.Groups | select Name Why? (I need to access to the group by CSOM but the group is not found)
1
vote
0answers
23 views

Unable to remove app from SharePoint 2013 site

I've seen this problem in several places in our dev and test implementation of SharePoint 2013. Especially in sites where there has been a lot of testing where people uninstall and install apps. The ...
1
vote
1answer
32 views

Upload site template PowerShell

I am using SharePoint 2013 and i want to create some spweb from a site template... I have created a site and added my desired content and i saved that site as template, then went to solution gallery ...
0
votes
1answer
71 views

How do you start a sharepoint 2013 list workflow in powershell?

I'm trying to figure out how to use powershell to start a list workflow. I found a few sites that give examples for sharepoint 2010 workflows, but only one for sharepoint 2013 workflows here. ...
0
votes
1answer
26 views

How can I use NameIdentifier Claim for trusted identity provider?

I am trying to setup a custom trusted identity provider in SharePoint. The provider issues a claim of type http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifierto uniquely identify the ...
0
votes
1answer
18 views

How to create WebApplication with claims based authentication using Kerberos in PowerShell in SP2013

I want to create WebApplication in PowerShell (SharePoint 2013) with the recommended claims based authentication and using Kerberos (instead of default NTLM). Based on the documentation I used command ...
1
vote
1answer
113 views

Detect if server is up and running after iis reset - powershell / sharepoint

I'm having a warmup script that I want to run after an Update-SPSolution foreach( $file in $solutionsxml.Solutions.Solution) { $filename = $file.name; Write-Host " Updating:" $filename ...
2
votes
1answer
28 views

How to Block End Users from running Scripts against my Farm

We have been experiencing issue where users are running Powershell Scripts against our production Farm using Web services, provided site owners access provileges they have. we want to set some sort of ...
1
vote
1answer
29 views

Deploy wsp without logging to SP server

Can i deploy a wsp using powershell batch file without logging to the sp server ?
2
votes
1answer
38 views

Set New Page Default Settings to “Inherit default page layout from parent site” in sharepoint 2013 using powershell script

I want to set New Page Default Settings to "Inherit default page layout from parent site" in sharepoint 2013 subsites using powershell script. I have tried with publishing-web ...
0
votes
1answer
35 views

App Pool created with Powershell name appears as GUID in IIS

I just installed SP 2013 in a test environment. I created an app pool to be used by the service applications using the Powershell command below: New_SPServiceApplicationPool -Name "Default ...
1
vote
2answers
58 views

good tutorial to learn using Sharepoint 2013 with powershell

I am looking to create some scripts that I will need for my SharePoint, but my power-shell skills are very bad. Is there any good tutorial that will help me become better at it ? It can be anything ...
0
votes
0answers
42 views

Error when trying to copy host named site collection with Copy-SPSite

For testing purposes I have created host-named site collection http://portal.contoso.com I am trying to copy this site collection with the Copy-SPSite cmdlet to a new host-named site collection ...
1
vote
0answers
13 views

How to rename a list-associated SPD2013 WF?

I have 20 sites that all have the same SPD2013 WF - it is a WF that executes on a specific list when an item is added or changed. We goofed on the naming of the WF and would like to rename the WF. Is ...
0
votes
0answers
24 views

Run PS Script from workflow SP2013

I saw the great feature developed by iLoveSharePoint here. But this is for SP 2010, and 2013 compatibility is not sure. Have you heard about any other stuff to do the job ? Running powershell scripts ...
1
vote
1answer
75 views

Run Powershell Script from Sharepoint page

I use a PS script to create a list. Instead of a scheduled task, I wondered if I can put a link or a button on a sharepoint page, that when you click on it, it runs a PS Script on the SharePoint ...
0
votes
1answer
39 views

Removing NewsFeed comments with Remove-SPSocialItemByDate throws SQLException

I am trying to remove all Mysite newsfeed comments via powershell in preparation for a new site release (getting debugging and test comments out, etc.)... I am using the Remove-SPSocialItemByDate ...
0
votes
0answers
47 views

Create a 2013 Wiki page with Powershell

I have a Sharepoint 2013 instance running on a server. I want to create a script that writes wiki pages from files. So while searching the internet, I found some code for C#, VB, and some PS Code that ...
0
votes
0answers
34 views

Is the only supported way to convert users to claims using a web application?

According to Microsoft documentation, Migrate from classic-mode to claims-based authentication in SharePoint 2013, the way to upgrade a classic-authenticated users would be to attach a database to a ...
0
votes
1answer
46 views

Extract Infopath form data to CSV with Powershell

I have several infopath forms. Which contain data. I need to resume some of them in a CSV file. I think I can do it with powershell. Loop in the directory and get all files. But to retrieve data, ...
1
vote
1answer
30 views

Powershell GetFollowedCount returns 0

Attempting to use PowerShell to obtain some social metrics from our SharePoint farm. One metric I wanted to get was the average number of sites users are following. The following script runs without ...
0
votes
1answer
211 views

how to checkin all checked out files via powershell?

We have in our environment installed Gary LaPointe powershell cmdlets and I found this script Get-SPCheckedOutFiles which returns all checkedout files, now I need to forcely check them in, not ...
0
votes
1answer
80 views

How to find the guid of the User Profile Service?

I'm looking into an issue where employees that have already had their accounts decommissioned in Active Directory are displaying in our new starters and birthday web parts after they have left the ...
1
vote
0answers
65 views

New-SPSite in SP2013 creating sites with 2010 user interface

I am creating a Site Collection with this powershell command $createdSite = New-SPSite -Url $SiteUrl -Name "Site Name" -Template "CMSPUBLISHING#0" -Language 1033 -OwnerAlias "spadmin" It used to work ...
1
vote
2answers
311 views

How do I install the 2013 SharePoint PowerShell module on my Windows 7 client computer?

I just installed SharePoint 2013 Foundation on a server. I'm confused as to how I can access the PowerShell cmdlets from my client pc. Everything I read assumes you're in front of the actual server. ...
0
votes
1answer
37 views

How do I use the object model to update quota values?

Reading this doc I'm confused by the following paragraph: If you change the values for a quota template, those changes apply only to new site collections to which you apply the template. ...
0
votes
0answers
34 views

Aspx page that create filtered view based on argument

I use Sharepoint 2013. I have two lists generated by PS everyday. List A Client Col2 Col3 1 aaa bbb 2 ccc ddd And List B : Client Col1 Col2 1 Info1 Info11 2 ...
1
vote
0answers
49 views

Propagate Lists through variation sites by PowerShell

Is it possible to propagate a list to a variation site by powershell?
0
votes
1answer
872 views

Error 404 when Pairing Workflow Server with SharePoint 2013

when I try this in powershell: Register-SPWorkflowService –SPSite "http://spserver2013" –WorkflowHostUri http://spserver2013:12291" –AllowOAuthHttp I get this error: Register-SPWorkflowService ...
0
votes
1answer
119 views

Add Link TopNavigationBar to a publishing site by powershell

I have a site collection with some sites (Publishing theme). I need to add some links to the top navigation bar and the quick launch by Powershell. $web = Get-SPWeb "http://myurl" $newLink = ...
0
votes
0answers
35 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
25 views

SP2013 remove server cacheHostInfo null and no access to old server

I had a server, SHPprod, but it did not match the naming scheme that I am using, SHPprodWFE. I removed it from the farm using the config wizard. Renamed the computer to be SHPprodWFE and added it back ...
1
vote
2answers
49 views

Unused MySites in SP2013 - how to identify them?

I want to regularly remove MySites which have been created and remain unused (i.e. never accessed). Ideally the criteria for this would be: Created more than 7 days ago (Which I can get using ...
0
votes
1answer
30 views

Site Collection second-level

I am using SharePoint 2013, is it possible to create a Second-level site collection by Powershell? I mean, a Site Collection (not substite) child of another Site-Collection.
0
votes
1answer
120 views

SharePoint Powershell Number and User columns

I need to create two list fields by powershell. One that accept only Integer (type Number with no decimal) and the other User (multiple selection). I can create Number field and Single User field ...
0
votes
2answers
179 views

Create Lookup Field Powershell

I am using SharePoint 2013, I need to create a lookup field throw PowerShell. I tried this code but is not working: $SiteUrl = "http://mySite" $WebObj = Get-SPWeb -identity $SiteUrl $myCustomList = ...
3
votes
1answer
251 views

SharePoint feature deployment and scope via PowerShell

We use SP2013 and PowerShell to deploy wsps. When installing the wsp via PowerShell: CASE 1: Add-SPSolution -LiteralPath $path install-spsolution -Identity $solution -GACDeployment Above ...
1
vote
1answer
141 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
147 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
118 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
37 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
1k 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
202 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
225 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: ...
2
votes
2answers
1k 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
437 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
275 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 ...