Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [powershell-script]

The tag has no usage guidance.

0
votes
0answers
8 views

automate data entry into SharePoint Application Page? [closed]

i would like to automate some tedious data entry for my team. i believe the system that we use is a SharePoint Application Page. it is written in ASP and has a SQL database backend. i am wondering if ...
0
votes
1answer
32 views

Less than symbol in formula causes error in calculated column when applying site design

I'm producing a site design script for SharePoint Online in PowerShell using Add-SPOSiteScript as per these instructions, and I can create the script and add it to a site design without any errors. ...
0
votes
1answer
19 views

Change contenttype of all site collection libraries with Powershell

Change contenttype of all site collection libraries with Powershell Hello everyone. I am an apprentice of powershell and SharePoint and I came across the following scenario: I have a collection of ...
0
votes
2answers
33 views

Add Azure AD users to SharePoints groups and document library permissions in bulk

I need to create Azure AD users in bulk (about 90), in order to add each of them: To a SharePoint group present in 90 sub-sites Authorizations from two libraries in each of these sub-sites Example : ...
0
votes
0answers
47 views

Get users who have permission through a sharing link Powershell sharepoint Online

I want to generate a report of every document and permissions on it. Permissions contains General Permission and Users who have permission through a sharing link/ or external sharing link. When I run ...
1
vote
1answer
18 views

How to Sync Exclude from Internet Search Engines with Internal Search using Powershell

I am using SharePoint 2013 On Premises. I am trying modify the values Exclude from Internet Search Engines( Present in Edit SEO Properties of a page, RobotsNoIndex field) with respect to Include/...
0
votes
0answers
32 views

How to access the Security trim for SharePoint Online using Powershell

I have been trying to access the securitytrim (_layouts/15/SiteNavigationSettings.aspx)context under the sitenavigationsettings page in sharepoint online. I can do them easily for the on premise ...
1
vote
1answer
90 views

SharePoint online ExecuteQuery command giving exception

I am writing a powershell script to copy the sharepoint online list items from one sharepoint online list to another while that list consist of 77 fields. I am getting below error. While the same copy ...
0
votes
1answer
85 views

Get navigation nodes from top navigation in hub (3 levels)

I'm using PowerShell ISE and SharePointPnPPowerShellOnline to get the TopNavigationBar navigation nodes from a hub site. I want all nodes in all levels. The navigation is 3 levels as you can see on ...
0
votes
1answer
25 views

How to transfer custom features and solutions from one farm to another?

Here is the problem. I've been given SharePoint 2010 farm with pretty huge web app, with large site collection, with custom features, some of which are paid and key required, which I don't have (...
0
votes
2answers
19 views

Powershell Pulling matching strings

I need help pulling every word that contains certain strings(more than one) from particular site and exporting to a file. My code is as follows: Add-PSSnapin Microsoft.SharePoint.PowerShell -...
0
votes
1answer
61 views

getting sharepoint list dropdown value using powershell

I'm trying to get a sharepoint list choice field value using powershell. The choice field contains a yes and no values. now I want to check if it's a Yes and do some logic. foreach($item in $...
2
votes
1answer
29 views

Script to find libraries that have a specific content type

I would like to know if there is a power shell script that will go through all libraries/lists on a single SP2013 farm and give me an output where a certain content type is still in use? I want to ...
0
votes
1answer
588 views

Edit Suite Bar Links in SharePoint 2019

I have tried all of the solutions provided for editing the Text in the Nav Suite Bar in SharePoint 2019. I am trying to change the text from "SharePoint" to "Intranet" or the name of our company. I ...
2
votes
1answer
53 views

Run a PowerShell script interactively on a SPO site (modern)?

So, I've found my perfect PowerShell script to archive Groups in a really nice way. The PS script is interactive and "asks some questions" (Prompt command), so to speak. :) The script looks as follows:...
1
vote
0answers
45 views

SharePoint Content Inventory Using PowerShedll Script

I have a script, where it loops through the whole site collection and starts calculating the size of each list in the site, and calculates each document size (PDF or word document) to determine the ...
1
vote
0answers
14 views

Finding Unghosted page using PowerShell Script in SharePoint 2010

I've a requirement to find out the unghosted page means page which are created using SharePoint designer using powershell script in SharePoint 2007. It should include the custom list forms as well. ...
1
vote
2answers
83 views

Powershell script to list all files in subsite with the content type assigned to them

I have a SP 2013 environment with documents uploaded to the sub site Document centre. I need to know which files was uploaded and which content type (also if no content type was selected) was uploaded....
1
vote
0answers
39 views

How do I get the name and version of the list item workflow from SharePoint 2013 using PowerShell script

How can I get the name and version of the list item workflow as encircled in the image? I have written the below code to obtain the Workflow ID, Title ,Status, Item Name. I got the ID, STatus and ...
0
votes
1answer
258 views

Powershell script that outputs all workflows,their title and status from sharepoint 2013 site that has workflows attached to every list

The SharePoint 2013 site has a few subsites and each subsite has further subsites that have lists in it. To these lists there is a workflow attached. How do I write a powershell script to retrieve ...