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
0answers
10 views

Check if site uses custom Infopath forms and workflows using powershell

I have to scan my SharePoint environment to check how many of the sites have custom Infopath forms and Workflows (OOB or SPDesigner). I am planning to use PowerShell to scan my sites/subsites. Do ...
0
votes
0answers
20 views

Possibility to initialize Personal documents without forcing user to use portal

We create an Office 365 user programmatically via Powershell API, and then access corresponding Office 365 Sharepoint libraries using CSOM via .NET. We were able to do all that, except Personal ...
2
votes
1answer
35 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 ...
3
votes
3answers
79 views

How do I create a list from a template and create all views with Powershell?

I am trying to imitate the process of creating a list from a template in the UI by using a Powershell script. When you create a list from a template with the UI, all of the original list's views are ...
0
votes
1answer
52 views

Add Group to Folder in a Document Library using Powershell

I want to create a Function with a single command line to add a SP Group to a Folder within a Documents Library. Structure: Site Document Library Folder (Permissions/Group(s) to be added here) ...
0
votes
0answers
15 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 ...
1
vote
1answer
56 views

SP O365 uplaod big file via CSOM

Hi I try to upload large files (900 MB) to SP online (actually the OneDrive Business) but seems to follow SP style. Try this via CSOM and powershell 70 MB are fine but when I try 900 MB a timeout ...
1
vote
1answer
29 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
35 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
0answers
9 views

Translate GUIDs to library, list, webpart, or component name

I have a list of GUIDs used but I don't have a reference to tell what each guid is for. Could I programmatically convert these Guids to something more useful such as Guid ==> "Document Library" ...
0
votes
1answer
33 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
23 views

Why the workflow started date has a delay of 2 hours in powershell?

I am using sharepoint 2010. I have created a document library. On this document library I have added a workflow. I uploaded a new document to my library and started manual the workflow. I can see the ...
0
votes
1answer
24 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
39 views

Export Crawl Log with PowerShell

I try to export the crawl log with PowerShell to analyze the errors and most importantly the warnings: Add-PSSnapin microsoft.sharepoint.powershell -ea 0 $ssa = ...
1
vote
2answers
64 views

PowerShell Cannot find Microsoft.SharePoint.PowerShell.dll

EDIT: I wrote this question in a misleading way. I should clarify that while I am on SharePoint Server 2010, I have admin rights on a SharePoint site. I do not have Foundation or Server apps. I was ...
0
votes
0answers
25 views

How to add a file to a tag on sharepoint online 2013 using powershell

I'm using powershell to add files to sharepoint and we are using tags instead of folders, I was wondering how would i go about it? Thanks D
2
votes
0answers
48 views

Usage and Health Data Collection using SQL Authentication

I'm having an issue with trying to set my Usage and Health Data Collection to use SQL Authentication. I have tried setting my database credentials to SQL Authentication using both Powershell and ...
1
vote
2answers
57 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 ...
1
vote
3answers
37 views

Timerjob location

I want to know, is there any way to find where timer-job is activated (url where timerjob's feature activated) using Powershell.
0
votes
2answers
50 views

How to get a list of broken links using Powershell? for Sharepoint 2010

I need a SharePoint 2010 Management Shell script that is going to generate a csv file with a list of broken links in one of my site collection and sub sites. I have no experience in writing PS ...
0
votes
1answer
39 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
0answers
48 views

Powershell script for user profile properties in SharePoint Online 2013?

Does anyone know of a Powershell script that can be used to pull user profile information from SharePoint Online 2013? The SharePoint server scripts are useless. Particularly, we are looking for a ...
0
votes
0answers
20 views

Create Calendar powershell CSOM

How would I go about creating a calendar in powershell using CSOM. I have created a custom list before, using this : Add-Type -Path 'C:\Program Files\Common Files\microsoft shared\Web Server ...
0
votes
2answers
26 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 ...
1
vote
2answers
81 views

New-SPSite - Could not find user when using SAML Claims

I have a Host Header web application https://example.com (SharePoint 2013) where users will login from ADFS using SAML Claims. I am in the process of provisioning multiple site collections for ...
0
votes
2answers
33 views

incremental-update to feature in sharepoint by powershell

New to PowerShell and SharePoint, i have a sharepoint 2013 project on visual studio 2013 that contains a SharePoint List definition and instance. After adding and installing the solution and ...
0
votes
1answer
43 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
2answers
20 views

Sharepoint 2007 - Download Document Library to Local Drive

We've got a Sharepoint 2007 server where I need to download the contents of an entire document library to a local drive. What's the recommended approach to accomplish this in a scripted fashion?
0
votes
0answers
41 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
24 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 ...
0
votes
0answers
21 views

Creating a folder with information pulled from infopath form

I have created a form in infopath that allows managers to input new hire information. When this form is created and submitted, it goes to a different library that only HR can see and they can switch ...
0
votes
1answer
53 views

Access denied in powerschell script for Add SPSolution

I have a Windows Server 2012 Standard, named DC. This server is a Domain Controller. I have Sharepoint 2013. The domain is DEVRSG.COM. I log on in DC machine using DEVRSG\Administrator, is Domain ...
1
vote
1answer
69 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
0answers
20 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: ...
1
vote
2answers
124 views

The term 'New-Object' is not recognized as the name of a cmdlet

I want to configure a high trusted app for app dev in SharePoint, and to do so I need first to insert some commands in the powershell editor like : $publicCertPath = ...
0
votes
1answer
21 views

What does “Synchronize” paramter of Install-SPSolution do?

Install-SPSolution command can accept an optional Synchronize parameter. MSDN says that it "synchronizes all solutions or the specified solution in the local farm". But what does this mean? What ...
0
votes
0answers
18 views

Mounting SP database where the DBs names and server names are in a CSV file

I want to mount SP content databases using powershell. The content DBs names and server names are in a CSV file. How to read the CSV file and use the mount -SPContentDatabase command? Can someone ...
1
vote
1answer
43 views

How to set Anonymous access to Site Collection using Powershell

I like to give Anonymous access to Site collection using power shell. How I will do this?
0
votes
1answer
38 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
1answer
44 views

Set Group Description to HTML via PS Script

I am using the following code/function to add groups to a site: function Create-SPGroupInWeb { param ($url, $groupName, $permissionLevel, $description) try{ $web = Get-SPWeb ...
0
votes
0answers
41 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
2answers
65 views

Can't obtain Document set author via PowerShell

I try to print Authors of all items of docset list in powershell script: Clear-Host $web = Get-SPWeb "http://dogovor.ab.ru" $list = $web.Lists["Договоры"] $AllItems = $list.Items foreach ($t in ...
0
votes
1answer
42 views

Local farm is not accessible, cmdlets with featuredependencyid are not registered

So after moving all my databases to the new SQL server I run this on my SharePoint central admin box, http://technet.microsoft.com/en-us/library/cc512725(v=office.15).aspx#Man Everything goes through ...
1
vote
1answer
35 views

Make a column unique powershell CSOM

How can I Enforce unique values: in powershell? Client-side as well not server-side Here is the code that I have : $ListInfo = New-Object Microsoft.SharePoint.Client.ListCreationInformation ...
0
votes
0answers
32 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
60 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 ...
1
vote
1answer
32 views

Grant “Replicate Changes” permissions in Active Directory with PowerShell

I'm creating a user in Active directory with PowerShell and need to assign it "Replicate Changes" rights. I can't find anywhere online how to do this.
0
votes
2answers
51 views

Poweshell Site Provisioning example

I want to create site collection and subsites using PowerShell script. It needs to take site name, site template name and owner details as parameters. I am new to PowerShell. Can anyone please help ...
2
votes
1answer
102 views

Creating a view CSOM Powershell

How can I create a view in Powershell using CSOM This works in server side I am unsure how to do it in CSOM $viewQuery = '<Where><Eq><FieldRef Name="IsActive" ...