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
36 views

Save as template PowerShell

As in my previous question : Upload site template PowerShell I tried to upload a saved Site Template (.wsp file) to my new Site the way i can create new subsites based on this Site template, when i ...
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
157 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 ...
2
votes
2answers
47 views

SharePoint group not visible

I created a new SharePoint group using UI. I do not see the group using: $web.Groups | select Name Why? (I need to access to the group by CSOM but the group is not found)
0
votes
2answers
36 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 ...
2
votes
0answers
193 views

Unable to remove app from SharePoint 2013 site

I've seen this problem in several places in our dev and test implementation of SharePoint 2013. Especially in sites where there has been a lot of testing where people uninstall and install apps. The ...
0
votes
1answer
102 views

Sharepoint Online and Powershell SPDocumentLibrary

I was wondering if it is possible to update a Sharepoint List versioning using powershell. I have attempted to load the SPDocumentLibrary class into powershell by using ...
2
votes
1answer
132 views

Powershell - write-host color not working

I know it's trivial to use colours in scripting, but it does help if you have tons of outputs. I have the following script and would like to change the colour of the output depending on the result. I ...
1
vote
1answer
236 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
0answers
24 views

Get webpart properties from previous version of webpart page

I am facing a problem in SharePoint 2010. I am trying to get webpart properties from previously published version of page using powershell script. e.g. If a page is checked-in and has version 5.2. I ...
0
votes
1answer
450 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. ...
1
vote
1answer
140 views

configure and inherit top link navigation for site collections

I Have a bunch of site collections in SharePoint online and I want them to have the same top navigation links. Is it possible to configure this in some way that they inherit the navigation form the ...
0
votes
1answer
246 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
70 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
50 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
416 views

Powershell - Delete / remove all site collection under a spesific managed path

I've created a managed path for my team sites - called "workspaces". All team sites Have been created under the same managed path. ex: http://awesome.com/workspaces/teamsite1 ...
0
votes
1answer
236 views

How to create WebApplication with claims based authentication using Kerberos in PowerShell in SP2013

I want to create WebApplication in PowerShell (SharePoint 2013) with the recommended claims based authentication and using Kerberos (instead of default NTLM). Based on the documentation I used command ...
0
votes
0answers
68 views

Adding lists with powershell. Visible in site contents but not $web.lists?

I've written a powershell script to create a batch of lists. The script does the following: Creates the library. Creates SharePoint groups. Changes the library name to replace spaces with ...
0
votes
1answer
269 views

spadminV4 which could not be contacted in deployment

I have Sharepoint 2013 and Powershell deployment. I execute muy ps1 script in SPS01 machine. Farm servers are SPS01, SPS02, SPS03, SPS04. User for deploy is UserInstallerMoss , it's Farm ...
0
votes
0answers
100 views

Missing server side dependencies and MissingSetupFile error with missing Site

A while ago I deployed a feature to my site that included a JavaScript file. I have since removed the file from the feature. I have also deleted and recreated sites within the mysite webapp. I have ...
1
vote
1answer
181 views

Detect if server is up and running after iis reset - powershell / sharepoint

I'm having a warmup script that I want to run after an Update-SPSolution foreach( $file in $solutionsxml.Solutions.Solution) { $filename = $file.name; Write-Host " Updating:" $filename ...
0
votes
2answers
68 views

Schedule a powershell script

I have a powershell script to delete a list . I want to schedule it to run once a year . Is there a way to schedule a powershell script ?
0
votes
1answer
48 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 ...
3
votes
1answer
327 views

Remove all users from all folders within a Document Library - PowerShell

How to run through all folders in a specific document library to remove inheritance and then remove all users from all folders within a specific Document Library using a Powershell script?
2
votes
1answer
34 views

How to Block End Users from running Scripts against my Farm

We have been experiencing issue where users are running Powershell Scripts against our production Farm using Web services, provided site owners access provileges they have. we want to set some sort of ...
0
votes
1answer
176 views

How to add a new field to a list view after specific field in this view

I need to add a new field to a myriad of existing views of a list in a specific position from left (i.e. this new field must be placed after the field 'fulladdress_onlylistdefined', who already ...
0
votes
1answer
99 views

Sharepoint Import command - Import List in same site collection

I have a sitecollection with list name "XYZ" and 5million records , I exported the list using the PS command . How to import the backed up sharepoint list"XYZ" under the same site collection : Command ...
4
votes
2answers
126 views

Trying to create a template with subsites

I'm trying to create a template that I'm going to need to replicate several times. Unfortunately there are sub-sites beneath the main site on the template that are complicating things. From what I ...
0
votes
0answers
24 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
37 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
187 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
192 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
390 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
65 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
163 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
42 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
144 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
26 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" ...
1
vote
2answers
320 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
27 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
106 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
260 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
501 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
29 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
118 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
78 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
50 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
223 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
440 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 ...
1
vote
1answer
456 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 ...