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
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [powershell-script]

The tag has no usage guidance.

0
votes
0answers
15 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
16 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
26 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
47 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
41 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
44 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
27 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
359 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
51 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
43 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
13 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
70 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
37 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
189 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 ...