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 ?
2
votes
1answer
15 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
20 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
42 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
27 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
23 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
58 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
21 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
27 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
17 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
33 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
21 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
92 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
38 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
52 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
228 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
30 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
32 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
45 views

Propagate Lists through variation sites by PowerShell

Is it possible to propagate a list to a variation site by powershell?
0
votes
1answer
499 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
90 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
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
22 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
44 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
29 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
80 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
93 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
190 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
94 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
102 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
113 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
31 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
932 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
152 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
180 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
956 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
351 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
208 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
35 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
552 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
247 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
123 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
130 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
213 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
131 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 ...
2
votes
1answer
253 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
1k 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
125 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
83 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 ...