Skip to main content

Questions tagged [powershell]

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 local and remote Windows systems.[except from WikiPedia]

0votes
0answers
16views

Get list of all Owners in SharePoint Tenant

My company has roughly 200 SP sites (SharePoint Online only) in its Tenant, and many have users as Owners - who shouldn't be in that group. I need to query the entire Tenant and generate a report of ...
Quilly's user avatar
0votes
0answers
11views

import export list from two different SharePoint Online sites using PnP Powershell

I'm looking for a way to import a sharepoint list of a sharepoint site and export it into another destination. I looked at this Powershell PnP commands I don't want the CopyList as i need to have the ...
naijacoder's user avatar
0votes
0answers
14views

error "the data area passed to a system call is too small - (When using SharePoint Designer to login into SharePoint Online)

I know this issue is not common. But has anyone tried to login in into SharePoint Online using SharePoint Designer. The site is still using the classic layout and pages. When i try 'm getting the ...
naijacoder's user avatar
0votes
0answers
5views

SharePoint External Links audit

0 Good afternoon! I have a task to create a PowerShell code to check all shared links from our SharePoint site, regardless of when they were created. The current limit is 180 days. Is it possible to ...
Dmytro Novitnii's user avatar
0votes
1answer
114views

How i can get all the retension policies applied to a SharePoint Online site, either inside list, list content type or site content type

I am a SharePoint office 365 admin inside a tenant, and i am working on 2 communication sites. now i want to review all the retention polices applied to the sites either inside :- List or Library ...
microsoftdeveloperdesigner's user avatar
0votes
0answers
36views

How do I export the Crawl log using PowerShell of a SharePoint Subscription on-prem setup?

I'm trying to export the crawler log as shown in the CrawlLogURLExplorer-section in the Search Service Application - Diagnostics - Crawl Log from our productions system for our developers to use for ...
Dennis's user avatar
0votes
0answers
32views

How do I use PnP to move large amounts of files without breaking sharing links and permissions?

I'm trying to find an archiving solution for my company that's easier than using the GUI and scrolling through large amounts of files and folders and manually using the Move To button. I have written ...
user124837's user avatar
2votes
1answer
221views

How do I find out what kind of access a user has to a SharePoint Online site using PNP PowerShell?

In Powershell, after running the Connect-PnPOnline -Url https://yourtenant.sharepoint.com/sites/xyz -UseWebLogin and Get-PnPUser -WithRightsAssigned commands, I can get the list of all users that have ...
Lorren112's user avatar
0votes
0answers
28views

Sharepoint Online Calendar to Database - PowerShell

I need help writing a Powershell script that will insert an existing SharePoint Online calendar into the database. So far I've managed to find a few examples on the forums, but I'm unable to create a ...
user121860's user avatar
0votes
1answer
86views

Set-PnPSiteVersionPolicy for thousands of sites in SharePoint Online - Cannot call this API with an app-only principal

We have 5000+ SharePoint Online sites in our tenant where i have to change the Site Version setting to automatic for all existing document libraries. I am using the below to connect using an Azure App ...
user3436773's user avatar
0votes
0answers
22views

How to count how many sites, libraries and documents shared with more as 50 users?

I would like to know how many sites, libraries and documents shared with more as 50 users. I write this PowerShell script, but it is very slow because we have thousands of SharePoint sites and 80 TB ...
KEM's user avatar
  • 15
0votes
0answers
63views

How to get the last viewed/accessed date of a document in powershell?

I would like to generate a csv report with inactive documents. How do I get the last viewed/accessed date of a document in powershell?
KEM's user avatar
  • 15
1vote
0answers
68views

remove Everyone and Everyone Except External Users from all places in an SPO Sites

Requirement: One of our Clients is working on correcting permissions on there tenant and thus needs to remove "Everyone" and "Everyone except external users" from identified places ...
SiD's user avatar
  • 93
0votes
1answer
36views

Read the site collection URLs in CSV file and replace/add the Email ID.in the "Allow access requests" settings

I want to read CSV file which consist of Site collection URLs and replace the "Allow access requests" email ID. In CSV file, I have data like below. SiteURL - ColumnName https://example.com/...
user119595's user avatar
1vote
0answers
67views

Map SharePoint libraries in different tenants and copy files between them

I’m trying to accomplish a task regarding file copy from one Sharepoint document library within a site in one tenant (Sharepoint On-premisses) to a document library within another sharepoint site in ...
Jarl's user avatar

153050per page
close