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 (1)

0
votes
0answers
33 views

Adding custom SPGroup to all lists in Site using powershell

I want to add custom SPGroup as contribute permission to all the lists in a sharepoint site using powershell. all the lists are at root web of the root site collection. Need possible script to ...
0
votes
0answers
19 views

How to add SP Group to Managed Metadata Term Group using Powershell

I want to add Active Directory Group to Term Group using Powershell. I have found script to add AD Group to Term Group, but i want to add AD group to multiple Term Groups. Need powershell script to ...
0
votes
0answers
55 views

How to change text encoding when inserting values inside a sharepoint list using powershell?

I'm using french words with special characters like "é" "à" etc. When I trying to insert text in my list fields using powershell, it does insert the values but the characters aren't well encoded. For ...
0
votes
0answers
46 views

Ignore/Exclude file when using Export/Import-SPWeb

I'm using the Export-SPWeb and Import-SPWeb Cmdlets to migrate a few libraries between SharePoint servers. However, one of the files being migrated is a shared data source which is only valid on the ...
0
votes
0answers
331 views

Error: “Cannot index into null array”

I am getting this error while trying to get the list name Cannot index into a null array. + $clientlist = $web.Lists["Shared Documents"]; + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ...
0
votes
0answers
55 views

How to find sharepoint 2013 foundation site collection broken links?

How to find all broken links in a site collection in SharePoint 2013? Preferably with PowerShell
0
votes
0answers
15 views

Does STSADMIN support workflow migration?

I've been tasked to move several SP2013 sites/collections from our National farm to the International Farm. From what I can tell, STSADMIN backup/restore can handle this pretty easily. However, I ...
0
votes
0answers
44 views

open pdf in browser sharepoint 2013

I have a library of pdf file, I need to open those file in browser and not to download them. I tried to set permission to web application using those steps : ...
0
votes
0answers
15 views

How to delete all user profiles of users that are not group members

I have to delete all user profiles of users that are not in a specific ad group. How can I do that (with powershell)?
0
votes
0answers
28 views

Delete user properties under specific section - list all user properties in a section

I'm trying to delete all user properties under a section in user properties. How do I list all user properties in a specific section? Add-Type -Path "c:\program files\common files\microsoft ...
0
votes
0answers
40 views

List url property missing

We have 3 environments PRD, TST and DEV. Each environment is pretty much a clone as both TST & DEV were built from PRD. The other day I was testing a Powershell script and when I moved to PRD I ...
0
votes
0answers
49 views

SharePoint Online Management shell to add o365 Tenant Cloud group to Admin Group?

Is there any way to add an existing o365 Tenant Cloud group as System Admin to all Sites on our o365 SPO Tenant via power shell? I know we can do it with accounts. But apparently since o365 Tenant ...
0
votes
0answers
27 views

Configure peoplepicker across domians having two way trust

Hi I have a farm of 2 app servers 2 search servers and 2 front ends. Steps taken till now 1) Installed User profiles and crawled the successfully imported user profiles. 2) Ran the STSADM.EXE -o ...
0
votes
0answers
14 views

whats the best approach to copy andn sync lists - sharepoint 2013

I Have a list A and would create List B. I would like to copy List A to List B and then keep it synced. Any ideas? Thanks in Advance
0
votes
0answers
71 views

Generate PowerShell Tree View Report of SharePoint Folder Structure

I'm looking for a way to use PowerShell to iterate through all folders in all sites of the SharePoint farm and dump it out to a file that shows the folder structure in tree view. I've made several ...
0
votes
0answers
99 views

How to re-register Workflow Service in workflow manager 1.0?

I am using SharePoint 2013 Management Shell to re-register my Workflow Service due the following error I am having in Sharepoint Designer 2013: Microsoft.Workflow.Client.ActivityValidationException: ...
0
votes
0answers
39 views

Powershell, design manager, uploading html file not creating associated master page file

I am uploading a xyz.html file through powershell for 2 site collections, when .html file is uploaded and published it automatically creates xyz.master file. It is working fine for first site ...
0
votes
0answers
404 views

Unable to update the User Information list using Powershell

I am using the following Powershell script for updating User Information List in SP2013 environment. I am a member of Administrators group and also Site collection administrator. $Site = Get-SPSite ...
0
votes
0answers
31 views

Memory Leak for Update-SPSolution using Powershell Remoting and Sharepoint 2010

I use PowerShell remoting to deploy scripts ps1 for SharePoint 2010. I get Memory Leak in any cases using Update-SPSolution cmdlet. I get timeout error for deployment. And powershell.exe process in ...
0
votes
0answers
302 views

SP2013 - <nativehr>0x80070003</nativehr><nativestack></nativestack>

I successfully restored a backup from another farm a few of weeks ago using restore-spsite. I had to delete that site collection, now I want to restore it again with that same backup file. The 2 ...
0
votes
0answers
42 views

SharePoint 2013 Online: Adding webparts to a page with PowerShell

SharePoint 2007 --> SharePoint Online migration. Moving from teamsites that have web part pages as thier default.aspx location to SPO ones that use Wiki Pages. We're using a third party to do the ...
0
votes
0answers
204 views

How to iterate list items from two list using where in powershell script

I have two list from where i want to collect common items. I am not able to make use of $caml in my script. My script: Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue ...
0
votes
0answers
146 views

The profile synchronization status stuck stopping?

How to stop this stopping immediately in my SharePoint user profile, using powershell.
0
votes
0answers
257 views

Uninstalling farm solutions, will not remove the related site collection features

I am facing a problem which I cannot understand how to fix it. Now I have installed third party tools inside my SharePoint 2013 server. Then I wanted to remove them, so i went to "Central ...
0
votes
0answers
215 views

Export-SPWeb 'These columns don't currently have unique values' fatal error

I'm trying to export some webs via Export-SPWeb in powershell and I'm receiving: FatalError: These columns don't currently have unique values. The webs have been added to SharePoint 2013 but ...
0
votes
0answers
109 views

Last updated information in User Profile with time date in SharePoint 2013?

Is it possible to get the last updated date with time in user profile,if user updated their information,is there any default Columns available to get this type of information using power shell.
0
votes
0answers
131 views

How do you get Group/Permissions information for a subsite (that breaks inheritance) on a SharePoint Online Site Collection using Powershell

tl;dr version: Ultimately I can get a list of all Groups for a given Site Collection, but I can't tell which groups give access to which sites. Which is to say that, for a given subsite that has ...
0
votes
0answers
33 views

When cloning the search index component in SharePoint 2013, where should the root directory be placed?

I've got an index component in my search service application listed as "Degraded" status and they say the solution is to create a new one and replace the old one. But when using the ...
0
votes
0answers
98 views

BDC: cannot logon with credentials obtained from secure store provider

Hmm.. When I manually create a new contentsource, point it to the single sql database-bcs everything works OK (no probs) (via Central Admin) but... When i try the same via a powershell script I get ...
0
votes
0answers
136 views

How to retrieve BDC Identity from External List programmatically?

I need to do a lookup on an External List (in SharePoint Online - Office 365) to retrieve the value of the BDC Identity. BCS is talking to an OData web service. (I'm not a Visual Studio guy), so ...
0
votes
0answers
76 views

SharePoint 2010 Powershell script to loop thru all sites collections to swap AD groups

BASIC OBJECTIVE: Identify an AD group, where ever it exists, Update to a new AD group and keep the same permission level. I'm looking for a powershell script to loop thru a site collection (or all ...
0
votes
0answers
232 views

Additional SPUser properties - UserLogin, DisplayName?

The SPUser object has "LoginName" and "Name" as valid properties according to the technet documentation here. However when i get a list of all SPUser properties I notice two additional properties ...
0
votes
0answers
46 views

how to link site column title to a resorce file?

I would like to link a site column title to a resource file using Powershell. I am using Sharepoint 2010. Thanks in advance.
0
votes
0answers
91 views

change the data type of a sharepoint column from the content type using powershell

i have been trying to change the data type of a field called "EmployeeName" from Number to Text - which is associated with a Infopath form Library in SharePoint 2010 env
0
votes
0answers
19 views

Why does the encrypted docs code generate errors on infopath files?

In check for password protected office documents you shared some powershell code to read through a site collection looking for encrypted documents. When the farm admin runs it, I get errors like: ...
0
votes
0answers
19 views

OnUpdated is not called on field when called with powershell

I have a custom type field, called MyCustomField, this field has some action to perform on the "OnUpdated". So when I go and update field in the UI throught the sharepoint site, and I jump into the ...
0
votes
0answers
90 views

Find Number Of Items In Search Index Using Powershell

How can I find out how many items are in my search indexes using Powershell in SharePoint 2010?
0
votes
0answers
104 views

Why I cannot get the UPS AD connection in powershell?

I would like to get the AD connection from the UPS in powershell. But the object "ConnectionManager" is null. What I am missing? If I go to: Central Administration -> Application Management -> ...
0
votes
0answers
33 views

Modify SPWebAnalytics ReportingDb and StatingDb using powershell

I am trying to change the reporting database and staging database for SPWebAnalytics sharepoint 2010 using powershell below but received the following error: "Set-SPWebAnalyticsServiceApplication : ...
0
votes
0answers
68 views

Creating a Calculated Date Field with embedded double quotes

I have been provisioning a load of Site Colummns with PowerShell . I am however, having a lot grief with a calculated field spField.Formula = "=TEXT(DATE([Created],"mmyyyy"))" spField.OutputType = ...
0
votes
0answers
71 views

Copy list item from Prod to Dev using Powershell or Server Object model

I'm looking for the best way, either throught Powershell or the Object Model, to copy a list item from Production to Dev. The lists are identical, I just have one item that is causing an error in an ...
0
votes
0answers
155 views

Set-SPUser - not valid user object - 19;#username - powershell

I'm trying to add users to a custom "responsible" group that have the same permissions as owners group. I'm getting member from a list in SP (people and group). $Responsible = ...
0
votes
0answers
37 views

SharePoint 2013 unable to see webpart after adding it using PowerShell

I have a custom webaprt which I created in SharePoint 2013 using VS 2013 and I am trying to add and congifure it through powershell. The good part is it's adding it on the page and displaying the ...
0
votes
0answers
44 views

Update folders to folder content type

I have a document library with root folders and then sub-folders. I need to update the sub folders to a newly created content type. Is there a way to do this with powershell? Example: Document ...
0
votes
0answers
82 views

SharePoint PowerShell Script deployment. Only errors outside of Visual Studio?

I have a problem regarding deployment of WSP package. I develop the solution using Visual Studio and use No Activation + a PowerShell script as 'post-deployment' command. The PowerShell script is the ...
0
votes
0answers
162 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 ...
0
votes
0answers
90 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
0answers
9 views

Powershell how to set a List field by Display User, or set by

I don't have a User Login Name. I have got a Display User Name. With this form - "User Surname User Name", If i have do it by workflow its works, but after 180 elements workflow crashed me. How could ...
0
votes
0answers
9 views

Powershell User set in Sharepoint

When I migrate to a list I must update the sharepoint User Group Field. How Could I update it ? Can I set by "Surname Name" User ?
0
votes
0answers
84 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 ...