0
votes
1answer
25 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 ...
0
votes
1answer
33 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
34 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
22 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
20 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, ...
0
votes
1answer
12 views

Get and modify crawled property

I have a custom metadata mapped now by script I need to get that to do some update. How can I do this?
2
votes
0answers
31 views

PowerShell script to update ContentType of existing records in Document Library

we are using Document Library in SharePoint 2010 environment. there are about 200 document present in the document library which have been identified (based on location - England and employee type - ...
0
votes
3answers
50 views

How to create SPWebApplication (SharePoint Web Application) programmatically?

I wonder how can I create SPWebApplication (SharePoint 2010 and 2013 ) programmatically? Do I need a Remote Administration using Sharepoint 2010 Management Shell or there is c# code. best regards
0
votes
0answers
18 views

Power shell script to select additonal fields for a lookup through site column

I have create a Lookup column as a site column in my root site collection selecting the following fields(Title,Order,status). In My subsite i am using this column using power shell.Lookup is getting ...
3
votes
2answers
119 views

Powershell regular expression syntax for matching exactly 6 characters that start with two letters at end of url

I have been trying to get a regular expression right for the powershell match command. I am looping through all site collections in a web application (my sites have URLs SC followed by exactly 4 ...
0
votes
1answer
42 views

Creating a calculated column with replace in Powershell

I am trying to create a caluclated column through powershell script .Below is the Script Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue $site = Get-SPweb ...
1
vote
1answer
46 views

programmatically check if sharepoint installed

I'm developing an application which test if SharePoint is installed correctly, with stsadm and PowerShell access. I wonder if there is a specified stsadm or PowerShell command or a specified C# code ...
0
votes
1answer
28 views

Adding groups to sharepoint site using powershell

Hi I have added 4 groups to site collection 'A' using the powershell script below. How can I add the same groups in a site under the site collection 'A' `$web=Get-SPWeb ...
2
votes
1answer
58 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
35 views

get login and password admin of farm

I'm developping a user interface with the intent to connect to my farm. I wonder if there is any cmd powershell to get login and password admin or there is other method.
1
vote
1answer
78 views

Is there a way to create site pages and insert webpart into it via PowerShell?

We are creating a powershell script to create lists, groups and to install wsp packages. There are 5 wsp each containing 1 webpart. Is there any way via powershell to create 1 site page and embed 1 ...
0
votes
0answers
22 views

edit ps1 file with c#

i have an ps1 file witch work fine in powerISE. But in my case ,I have a c# class witch execute ps1 file and I want to set variables values from c# class . code in PS1 powershell function ...
1
vote
3answers
174 views

Powershell to install Farm solutions (wsp) [duplicate]

we are trying to deploy farm solution wsp file on the SharePoint server via PowerShell. The wsp is a webpart. I got this script by browsing forums... Foll. is our code:- $oUrl="http://mysite:9999/" ...
1
vote
1answer
132 views

Using Classic mode authentication in SharePoint 2013

We have a SharePoint 2010 site deployed using powershell. Before running script we have to create a web application and site collection. Then run the script. The script creates groups and lists. Now, ...
0
votes
1answer
33 views

How to enable Modal Dialog for All List forms (new/display/edit) via PowerShell?

We have deployed a SP2013 site via powershell and notice that the list forms do not open in popups rather they open as page. Is it possible via powershell to update all lists so that the ...
1
vote
0answers
11 views

How can I upload multiple Forms into Forms Library and set some values?

I have a forms Library with over 6k Forms in it and I created a new one. As I cant move them directly because almost everything has been changed in the new form (new fields, etc) I need to create a ...
0
votes
0answers
18 views

Find all InfoPath forms in the entire SharePoint 2007 SiteCollection

We're going to migrate a SharePoint 2007 instance to SharePoint 2013. We want a report with all the InfoPath in the entire SiteCollection (+1000 sites, so with PowerShell). I've found some scripts, ...
1
vote
2answers
35 views

Use of powershell with sharepoint

I was wandering what were the possibility of interaction between powershell and sharepoint. Almost all our documentation at work is on sharepoint and was wandering if I could access the metadata ...
1
vote
1answer
190 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
0answers
19 views

Powershell copy a View from database and insert to existing Sharepoint list

I got a View, and a List of Sharepoint with same more of column. In Powershell at every Time Job I wan't add only this records, which are new, and add them to a list. Did You know any of scripts which ...
0
votes
1answer
83 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
0answers
23 views

Need to get only items which have never checkdin

I am using this code to get ownership of the list items which are never checkedin, this works great. I need to get the items which have no version history. How do I specify in my Caml Query please? ...
0
votes
1answer
27 views

How to create setup for Sharepoint 2010 web application

I have patch 1 until 3. To do the installation for each solution package may take a long time which is it is needed a long step. So, is there any solution or tools that I can simplify the ...
2
votes
1answer
67 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 ...
0
votes
0answers
56 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 ...
0
votes
2answers
33 views

How to find how many site colections are active in a web application using console application

I need to retreive how many sites are active in a web application using either powershell code or console application. Require the code ( also need how many users have accessed the active site ...
0
votes
1answer
39 views

How to retreive last 10 users who have logged in a site using Power shell script?

I need to retreive last 10 users who have logged in a site.(I need to chek in each site under a webapp who are the last 10 users to log in). and export it to a csv file.Require code in powershell.
1
vote
1answer
61 views

Get-SPShellAdmin doesn't work

Tried to create a new SharePoint 2013 farm with a ps script and got this error. The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered. Found the resolution was to ...
0
votes
1answer
106 views

Sharepoint 2007:How to export all list items to excel 2007 using object model in powershell script

Sharepoint 2007:How to export all list items and columns to excel 2007 using object model in powershell script
0
votes
1answer
60 views

Retreive column names of a list and (list items) and export to excel using powershell script

I need to retrieve column names of a list and export to Excel using PowerShell script. Can someone assist me to write a script for this? Thanks in advance.
0
votes
0answers
37 views

Creating a Checksum/Hashcode for files for a comparison/validation after Migration?

I was wondering if anyone has stumbled upon or knows of a method on how to create a Checksum/Custom Hash for a file on MOSS 2007 or SP 2010 ? The problem I am having is that I am trying to validate ...
2
votes
2answers
37 views

Require Condition for sitecollection not present with a value in array powershell

I am having an array containing 4 site collections, in that I need to check a condition that if a site collection " " is not present or doest contain a value in that array it should go in the loop. ...
0
votes
1answer
31 views

MOSS 2007 Powershell Export document Attributes to CSV

I have a Powershell script that technically speaking is working fine but I want to make some things more efficient. In order to export the output to a csv what i usually do is start a powershell and ...
0
votes
0answers
16 views

How to export list properties of a specific list to excel

I need to export the list properties of a specific list checking whether that list is in root site or sub site and export to excel. Thanks
0
votes
3answers
191 views

Extract all list names from sharepoint site to csv

I need a PowerShell script that loop through a site collection and list down all the list title in excel format
2
votes
1answer
51 views

How to display the values in powershell in Excel format

I have got certian output of list properties using powershell script. I need to display it in an excel format. I require the code to display the result in excel format?
0
votes
1answer
66 views

how to enable “Publishing Approval Workflow” using powershell

I tried to activate "Publishing Approval Workflow" feature using the below powershell script, Enable-SPFeature –Identity Publishing Approval Workflow –url http: But its not working.
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> ...
2
votes
1answer
316 views

Powershell: Cannot update taxonomy type column item with multiple values

I'm having a strange problem. I try to populate items' property which is of managed metadata (taxonomy) type and the update method doesn't work. This field has "allow multiple values" property ...
1
vote
1answer
102 views

how to get back old modified user name and date in Sharepoint 2010 document library?

Is is possible to revert sharepoint back with old modified user and modified date information? Even restoring version history changes modified user and date. For ex: my file in sharepoint 2010 ...
2
votes
1answer
30 views

Copy of Test Phase to Production Phase

If you have two phase, test and production phase and test phase has a database with 40 table + 55 views + all cubes from analysis service. The production phase is a reflection of test phase. Is it ...
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 ...
0
votes
1answer
460 views

Upload file to SharePoint Document library using powershell

I want to upload the same file to multiple site collection with the same hierarchy in all the site collection using powershell and the with functionality auto checkin/checkout. I have able to upload ...
0
votes
0answers
303 views

Sharepoint Powershell exporting document library items ID/info to excel for 2007 and 2010

As per recommendations of Max I am opening a new thread. The previous problem i had was to compare the integrity of data between sharepoint 2007 and sharepoint 2010. I have decided to go with the ...
1
vote
1answer
93 views

Central admin no longer available, asks to set up new farm

I have a development Sharepoint 2010 enterprise edition. My account has full control and SPShellAdmin credentials on the SQL database farms. Last spring I developed some custom web parts for my ...