Windows PowerShell is Microsoft's task automation framework, consisting of a command-line shell and associated scripting language built on top of, and integrated with the .NET Framework. PowerShell provides full access to COM and WMI, enabling administrators to perform administrative tasks on both ...

learn more… | top users | synonyms

0
votes
2answers
69 views

Using powershell, get the pagelayout name for a given aspx page in the Pages Library

I am writing a powershell script to list out all the pages in a given Pages library. But I would like to get only those pages with a given pagelayout. Is it possible to get this information from the ...
1
vote
1answer
96 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
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 ...
1
vote
1answer
46 views

PowerShell command to get list of documents where users x and y has permissions?

I would like to get a list of documents where user x and y has permissions. Can someone help me? I would like to do it in either PowerShell or C# code.
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.
0
votes
1answer
350 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
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 ...
1
vote
0answers
74 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 -> ...
4
votes
0answers
38 views

Any way to figure out whether a site was created via Self-Service Site Creation or “regularly”?

Is there any way to figure out whether a site was created by a user, using self-service site creation or by an admin by Central Administration or PowerShell? I tried looking through the ...
2
votes
2answers
110 views

List Template does not show up in PowerShell

I have about 15 List templates in the (gallery > List templates) and none of them show up when I run following script: $web.ListTemplates | ForEach{ write-host $_.Name } I think that is the reason ...
1
vote
1answer
49 views

PowerShell Metadata Navigational Menu of Simple Links from a Table stuck in Second Gear

Currently I have it working for 2 levels of simple links. Actually no links are in this version. I have been able to create a submenu but not a sub-sub-menu. I believe it has to do with the way I ...
1
vote
1answer
114 views

Cannot iterate over users in site collection with powershell; unspecified error

I am using this fine script to build a script, which iterates over all sitecollections in a web application. The purpose of this is, to list all users, with their permissions, and from which objected ...
2
votes
0answers
37 views

How to speed up saving a list as template

I want to save a library as a template. For this I use the following PowerShell code $id = [Guid]::NewGuid() $templateName = [String]::Format("{0}-{1}",$list.Title,$id.ToString()); ...
2
votes
1answer
51 views

PowerShell Script To Find Where SharePoint 2010 Features Are Activated

I want a PowerShell script to find where Features are activated in a site collection and its sites/subsites Like for example feature "Enterprise feature"
1
vote
1answer
55 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 ...
1
vote
1answer
106 views

Problem with SP2013 solution scope: WebApplication vs GAC

I have a SP2013 solution that contains a custom WCF service, custom Timer Job and a Feature Event Reciever. Because of these the solution Assembly Deploying Target is set to GlobalAssemblyCache. The ...
0
votes
0answers
42 views

Error when trying to sync Actve Directory Photos

I am trying to sync the photos from the Active Directory with Sharepoint 2010. I am following the instructions at : ...
0
votes
1answer
35 views

Can't get any SharePoint services thru PowerShell

I'm trying to grab the Distributed Cache service using PowerShell so I can change the managed account that runs it. This cannot be changed through the CA UI. I am not able to get the service using ...
1
vote
1answer
124 views

Download/Export solution from site solution gallery

I'm trying to automate the process of downloading one solution and then add/install the same solution to other site collections. The first thing to do would be to download the freshly created solution ...
2
votes
0answers
36 views

Not able to connect to service with windows account in mix mode authentication

I am trying to connect web service in mix mode/claim based environment with powershell, Below is the sample code for your reference, $WebSrverUrl = "sharepoint:2013/_vti_bin/authentication.asmx" ...
3
votes
2answers
59 views

Access Denied from Migrated SP2010 -> 2013 Web App

I've migrated a web application's content database from SP2010 to SP2013. After the migration was complete, I am completely locked out of the web application. Navigating to the root site collection ...
0
votes
1answer
105 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 ...
1
vote
1answer
29 views

Error Acessing Remote SharePoint 2010 sites within same network from .NET 3.5 Windows Application

We have been working on a .NET Windows Application for doing Admin tasks and some validation in SharePoint 2010 , since the tool needs to have the functionality to do a site backup and restore I have ...
6
votes
1answer
131 views

SharePoint 2013 Variations Using Powershell

I am using powershell to manage the creation of some site variations following this tutorial: http://www.sharepointeurope.com/blog/2013/7/23/automate-variations-in-sharepoint-2013-using-powershell-c ...
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 ...
1
vote
2answers
118 views

list trottling powershell script

currently my list has threshold value of 5000, I want to increase threashold and disable trottling. I can increase list threshold value from central admin but that would decrease performance of ...
0
votes
1answer
125 views

Working on the User Profile and Mysite web

I just trying to get few information from a user (like if the mysite web exits) and working with that. The main problem is understand if the user has a mysite web and delete it if exists but to do ...
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
186 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
1
vote
0answers
168 views

SharePoint 2013 MetaNavigation Problem deleting Termsets

The following is just a test script borrowed in part from http://goo.gl/Cw1D8h "Powershell to create and reuse Managed Navigation for multiple sites in SharePoint 2013" The following script works ...
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?
2
votes
2answers
196 views

Powershell to delete checked-out documents with no checked-in version

I have created a script to delete all documents inside a library, including documents in folders and the folders themselves. However, it seems that the script will not remove documents that have no ...
1
vote
1answer
40 views

Unable to compare 2 sharepoint site url in powershell script

Hi i need to compare 2 sharepoint site urls using powershell script. So that once the url is compared it should go into some loop for deactivatng a feature in only one site in a bunch of webapp and ...
2
votes
1answer
158 views

using powershell script update the page name in sharepoint 2013

I wan to change the page name with Power shell script. When I had run the script I was given an spexception error: Exception calling "CheckOut" with "0" argument(s): "The URL ...
1
vote
1answer
324 views

Unable to execute: Add-PSSnapin Microsoft.SharePoint.PowerShell

I'm attempting to use the PowerShell ISE on a Win 2012 Standard Server. I followed the steps here (http://sharepointpromag.com/blog/powershell-and-sharepoint-step-1-loading-dlls-and-snap-ins) to add ...
0
votes
3answers
60 views

Wanna Learn PowerShell

I have read many blog sites about powershell and I wanna learn practical skills in PowerShell. Is there a website to read about what assignment to do or similiar?
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
1answer
72 views

Require powershell command to retrieve a specific list and that particular list properties

I need to loop through all site collection in a web app and I have to extract the list name called "Project Center" and list down all the list properties. Help required.
1
vote
2answers
59 views

How do I create an SPSite object in powershell that references a remote farm?

I'm writing some powershell and I can easily access local farm resources but I would like to access a remote farm? Is this possible? The code works below when targeting the local server: $site = ...
1
vote
1answer
119 views

How to correctly dispose spweb and spsite on powershell foreach! [duplicate]

Title of the question is pretty simple, I have 18000 site collections and this script is showing 1GB of ram used, so I wonder how can I dispose correctly the spweb and spsite object $webapplication = ...
1
vote
2answers
65 views

SPWeb dispose after crashing powershell ISE [duplicate]

I built a powershell script that connects to sharepoint and adds items to a list. This script caused the PowerScript ISE editor to stop responding and crash before disposing. The SP server logs ...
1
vote
2answers
88 views

How to set a powershell variable to a specific sharepoint page

I have a SharePoint 2010 documents library that contains about 50 .aspx pages. I want to break inheritance on about 6 pages and set them to specific permissions. I am able to get a page by numerical ...
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
2answers
86 views

Is it possible to export/import a Sharepoint 2010 subsite?

Is there a way to import/export or backup/restore a sub site? I have a site collection at http://someurl.mycompany.com/sites/content. I have sub sites under that site collection that were created by ...
2
votes
3answers
250 views

Differentiate between custom timer jobs and system timer jobs

Is there a way to differentiate between custom timer jobs and system timer jobs. Under Central Administration - Monitoring - Job Definitions I see all the jobs defined on the farm. I´m new to this ...
0
votes
1answer
125 views

How to execute a script in SharePoint Management Shell?

PS C:\logfiles> dir Directory: C:\logfiles Mode LastWriteTime Length Name ---- ------------- ------ ---- -a--- 12/11/2013 2:54 PM ...
1
vote
1answer
72 views

How to AddItem with certain ContentTypeID using PowerShell

I am using PowerShell to add 100 items which need to be of a specific ContentType. (requirement) Test my custom events receiver using powershell. The test is to create a list with a custom content ...