1
vote
0answers
18 views

Can we disable /Hide Skydrive from SharePoint Farm On premises

Is there a way that we can use power shell (Not custom delegate control) to hide/disable the Suitelinks from the complete SharePoint farm .We achieved that in one site collection using CSS but as we ...
0
votes
1answer
22 views

Copy People column from sharepoint list item to SharePoint group

I have Site Admin Custom sharepoint list in a Site1, where users in our oganization need to submit a request to become Cerified Site Collection Administrator. List Consists of 3 columns: Site ...
0
votes
1answer
24 views

New-SPWeb : Cannot find an SPSite object that contains the following Id or Url:

While Running Following command: New-SPWeb -url "https://xyz.com/sites/" -name "apple" -template STS#0 I received following error: New-SPWeb : Cannot find an SPSite object that contains the ...
0
votes
0answers
6 views

Check if list item containing group/persons is a group or person - powershell

I'm trying to add person and groups from a list item to a site collection (owner / visitor / member group) Ex: Got a column that is a (person and group), in that column I'm typing in ...
0
votes
2answers
19 views

After deleting all nodes, QuickLaunch throws “You cannot call a method on a null-valued expression”

If QuickLaunch has nodes, the following causes the error "You cannot call a method on a null valued expression". If not, it carries on as normal. $nodes = $subWeb.Navigation.QuickLaunch write-host ...
1
vote
0answers
33 views

Create Result Source Using Powershell

I want to set Type="People Search Results" and in Credential Information want to set default authentication using power shell. I have used below code to create result source but I am not able to set ...
0
votes
0answers
18 views

Powershell Automation of Workflow Visio Exports

In Sharepoint 2013 I'm working on a solution for automated backups at the list level (as opposed to full site backups). Thus far it's a two part solution involving powershell commands that would run ...
0
votes
2answers
25 views

Copy-SPSite not recognised?

I am trying to copy a site with power shell using SP2010 Enterprise and the SharePoint management shell but the cmdlet does not recognize the Copy-SPSite term!? It is not permissions as I am admin ...
0
votes
1answer
36 views

How to get C# to recognize argument passed through PowerShell

I'm using PowerShell to call C# code to turn list alerts on or off on a specific list. When I try to use [AlertsOnOff1.onOff]::Main("off") to call the Main method and pass the arugment of "off"the ...
0
votes
1answer
56 views

I need help getting powershell to run c# code

I found a technet blog saying you could run c# code in powershell, so I ended up giving it a try. When I try to run the following powershell script I get 2 errors and I'm not sure how to resolve them. ...
0
votes
0answers
36 views

Using SPQuery returns today's recurring calendar item and tomorrows. Why?

We have an on call calendar in SharePoint. I'm trying to send an automated, weekly email of the calendar. The calendar has a mix of weekly recurring entries and non recurring entries. I'm trying to ...
1
vote
1answer
34 views

Is there a way to temporarily disable existing alert emails from executing?

I have a powershell script the runs automatically once a week to move old list items to an archive list. On the current list my end users are receiving alerts when the item is moved (create/deleted) ...
0
votes
1answer
34 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
20 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
66 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
30 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
41 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
59 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
136 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
61 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
44 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
142 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
29 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
35 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
62 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
63 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
62 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
64 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
25 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
104 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
54 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
69 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
59 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
79 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
36 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
437 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
163 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
78 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
496 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
55 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
56 views

Propagate Lists through variation sites by PowerShell

Is it possible to propagate a list to a variation site by powershell?
0
votes
1answer
1k 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
171 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
46 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
26 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
58 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
32 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
160 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 ...