0
votes
0answers
15 views

Creating SPNavigationNodes via PowerShell

Unfortunately I don't have my screenshots since they are at work so I'll try to explain this as best as possible. On a site collection's top level site at work, I would like to have the top navigation ...
1
vote
0answers
19 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
2answers
23 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
0answers
14 views

The job 'GUID' is already running and cannot be canceled- PowerShell

A deployment or retraction is already under way for the solution "xxx.wsp", and only one deployment or retraction at a time is supported it occurs if anomalies deployment is running for the same ...
0
votes
1answer
33 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
0answers
22 views

Test-Connection and Access denied using Powershell

I have Windows Server 2012 and Sharepoint 2013. I have this issue deploy Sharepoint using Powershell: I execute powershell.exe with credentials UserInstallerMoss. UserinstallerMoss is Farm ...
0
votes
1answer
49 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
2answers
40 views

how to copy a sitecollection with powershell

Does any one know how to copy a site collection using PowerShell. I used this : Copy-SPSite http://contoso/sites/OldTeam -DestinationDatabase WSS_Content -TargetUrl http://contoso/sites/NewTeam but ...
1
vote
1answer
30 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
29 views

Show or hide individual subsites using powershell

I want to show or hide subsite link from Parent site top navigation. e.g. from UI i can do it by Show or hide individual subsites and pages On the Site Actions menu, click Site Settings. On the ...
0
votes
1answer
9 views

Copy-SPSite is not recognized

I'm completely new to Sharepoint and was tasked with copying some new sites. However when I opened Sharepoint Management Shell and typed "Copy-SPSite", it displayed the following message Also, the ...
0
votes
1answer
31 views

Updating a SharePoint list using export-spweb powershell

I have a list in two different sites. Those lists data has to be in sync. But somehow my content guys forgot to do that. What happens when i import the list from one site to another site which ...
0
votes
1answer
30 views

Replicate site collection with a different URL and retain its content

I have a site collection that is published externally and is constantly getting updated with newer versions of files. The business has a requirement where we need some external users to only see ...
1
vote
2answers
27 views

Delete the defualt folder in sharepoint 2013

i have used the below scripts to delete the folder in sharepoint 2013 This folder is generated by while creating my site which always creates the same folder name in the "Documents" Document ...
0
votes
0answers
9 views

Delete the default folder in sharepoint 2013 using powercell [duplicate]

whenver im creating mysite each user aving default folder in document lib. Shared with every one. so my requirement is to delete the "shared with every one" folder in all my site. is there any ...
0
votes
0answers
71 views

New-SPWOPIBinding Cannot Contact Office Web Apps Farm

I'm trying to attach my sharepoint dev enviroment to a OWA server. I've got the Web apps server up and running and serving our live enviroment with no problems. I want to bind our dev platform to the ...
0
votes
0answers
22 views

Access powershell variable in next command- Can not convert the value of type “System.String” to type xxx

How to execute both commands in powershell. I get below error. I want to access $ Db in next powershell command. $ Db = Get-SPBusinessDataCatalogThrottleConfig-Scope ThrottleType Items ...
0
votes
1answer
23 views

The term 'Get-SPBusinessDataCatalogThrottleConfig-Scope' is not recognized as t he name of a cmdlet, function, script file, or operable program

If you are working with a larger external list (more than 2000 items) in dev environment it works perfectly, but when you work in production environment, it throws error Unable to display this Web ...
0
votes
0answers
15 views

SharePoint 2010 PowerShell command get required parameters

I am new to powershell and I want to validate a tricky rule. Let's assume I enter Get-SPSite as command and it may have required params as well. Assume Identity is required Params for Get-SPSite ...
0
votes
1answer
58 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 ...
0
votes
2answers
23 views

PowerShell command prints the value rather than executing

I have written a power shell command to achieve a specific function and I'm new to power shell. That should perform the action and I'm pretty sure I have entered exact working command. But when I try ...
1
vote
1answer
48 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
113 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
51 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
25 views

How do I get a content type's parent name via powershell?

I am attempting to write a powershell script to pull content type names applied to lists, and their respective parent content type name. Unfortunately, I seem to have run into a hurdle - whenever I ...
0
votes
0answers
27 views

Power shell script to get custom site columns and content types

We are planning for migrating from sharepoint 2010 - 2013 and we would like to export all custom site columns and content types in a .csv file. Also we would like to know which sites are using these ...
0
votes
1answer
42 views

power shell script to find a particular string

I have a choice field of type radio button. When the user selects the radio button I want to change the image depending up on the selected value. Below is the screen shot for the same Now when the ...
2
votes
1answer
58 views

Powershell - get all default values for a document library

I am attempting to write a powershell script that will iterate through all document libraries and provide me with the default values for specific columns. I am successfully iteration through the ...
0
votes
0answers
27 views

Removing a BDC Catalog using PowerShell

I use Sharepoint 2013 and Powershell. I use $metaStore = Get-SPBusinessDataCatalogMetadataObject -BdcObjectType "Catalog" -ServiceContext $siteUrl Import-SPBusinessDataCatalogModel -Path $filename ...
0
votes
1answer
57 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 ...
0
votes
1answer
38 views

Restoring backup to new environment. Error: Web application not found

I am trying to restore a backup of a site collection from my production enviroment to my dev enviroment using the following powershell script: Restore-SPSite http://abd.spdev.<domain> -Path ...
0
votes
1answer
70 views

Why can't powershell convert my password from system.string to system.security.securestring?

I'm trying to create a UPS sync connection using powershell. Becuase of the vagaries of our AD setup I can't use the Central Admin 'Create New Connection' function. I am using the script below which ...
0
votes
2answers
40 views

Move SharePoint list items into folders that exists in the same list programmatically?

Respected members of StackExchange, kindly help me with your kind suggestions to solve the issue. I have +20,000 items in a SharePoint list that i want to move into the folders that also exists in ...
0
votes
1answer
57 views

How to install SharePoint 2013 Installation with SQL Server Authentication

I'm just curious about the steps required to install Sharepoint 2013 using SQL Server Authentication. Also if there are any drawbacks that i might not be aware of. Here are some steps i currently ...
0
votes
0answers
29 views

Set-SPAppDomain local

How can I set a local domain for: Set-SPAppDomain "mydomain" Set-SPAppSiteSubscriptionName -Name "mydomain" "mydomain" is just an example. Now for the second command I'm getting this error: ...
0
votes
1answer
138 views

Getting the list name from url with PowerShell

I am trying to parse any given SharePoint URL and get back the site, web and list references using the code below. I would like to achieve this even if I provide the URL of an item. The code below ...
0
votes
1answer
95 views

Access personal views in a list with PowerShell

I am trying to first access and then edit Personal Views for a SharePoint List using PowerShell. However only the public views are returned. In the example below the list called List1 has two views - ...
5
votes
1answer
64 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 ...
0
votes
1answer
59 views

Error while updating a Sharepoint record using Bypasslock method in Powershell

I am trying to update a Sharepoint 2010 record using ByPassLock method in Powershell. I am using below code [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint") | Out-Null ...
3
votes
1answer
77 views

PassPhrase is not valid in SharePoint 2013. Powershell not connecting to SharePoint farm to reset passphrase

I have removed Project server instance from my SharePoint 2013 farm. After that when I tried to run the configuration wizard, I found that the old passphrase is not valid. When I open powershell, the ...
1
vote
1answer
205 views

Change icon in sharepoint site programmatically

I want to change the icon image for my Webapplication , not the logo but the icon in the URl . I used this script powerShell to change the logo : #Get the Site $web = Get-SPWeb ...
0
votes
1answer
39 views

how to limit size content database

I want to limit the size of the content database to add another content database to my web application. Does anyone know how to do this with powershell or sql?
3
votes
2answers
503 views

List item with specific ID value

I want to copy a list items one by one to another list using PowerShell. Some items in source list are misssing. I don't want to create and delete empty items for missing ID values in source list. I ...
0
votes
1answer
81 views

Uncommitted changes on SPWeb object

In my simple Powershell script, I keep getting an error "Exception calling "ResetRoleInheritance" : There are uncommitted changes on the SPWEb Object, call SPWeb.Update() to commit the cahnges before ...
1
vote
2answers
2k views

powershell script to move/copy files from network path to SharePoint sub folder

if((Get-PSSnapin "Microsoft.SharePoint.PowerShell") -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell } $spWeb=Get-SPWeb -identity ...
0
votes
1answer
102 views

SharePoint security based on Active Directory security groups not work

Please help me. In the organization , we have deployed SharePoint 2013 , to control access to sites decided through security group Active Directory. Active Directory security groups are added to the ...
1
vote
1answer
79 views

Test-SPContentDatabase doesn't return information

I run Test-SPContentDatabase like this: public string Test_Associate(string DbName,string UrlApp) { Runspace runspace = RunspaceFactory.CreateRunspace(); // open it ...
0
votes
1answer
90 views

run SharePoint management shell with c#

I have some ps1 that I need to run it with SharePoint management shell. I dont have the possibility to run it with the traditionnal powershell even i havce the administrator role : public string ...
0
votes
0answers
39 views

Connect to SPFarm SharePoint 2010

I want to create a function to connect to SPFarm SharePoint2010 with a login and password ,I knowed that it use NTLM authentification ,do I need credential connection ? is there any PowerShell ...
0
votes
1answer
103 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, ...