SharePoint Online: Find Duplicate Files using PowerShell

April 23, 2019    , ,
Requirement: Find Duplicate Documents in SharePoint Online. When multiple people from different teams work together, there is a huge possibility for duplicate content in SharePoint. People may have uploaded a same document to different libraries or even different folders in document libraries. So, How to find duplicate documents in SharePoint Online? SharePoint Online: Find Duplicate Documents using PowerShell - File Hash Method Lets find duplicate files in a SharePoint Online document library by comparing File hash. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Parameters $SiteURL = "https://crescenttech.sharepoint.com" $ListName ="Documents" #Array to Results Data $DataCollection = @()
SharePoint Online: Find Duplicate Files using PowerShell SharePoint Online: Find Duplicate Files using PowerShell Reviewed by Salaudeen Rajack on April 23, 2019 Rating: 5

How to Get Office 365 Group Members using PowerShell?

April 07, 2019    ,
Requirement: Get Members of Office 365 Group using PowerShell How to Get Office 365 Group Members? To get a list of members in Office 365 group from Microsoft 365 admin center, Login to the Microsoft 365 Admin Center site: https://admin.microsoft.com Expand Groups and Click on Groups link in the left navigation.  Groups page lists all groups in your Office 365 tenant. Pick the desired group to list users in group. This opens the group's details page which lists group members PowerShell to Get Group Members in Office 365: Here is the Office 365 PowerShell get group members #Get Credentials to connect $Credential = Get-Credential #Create the session $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ ` -Credential $Credential -Authentication Basic -AllowRedirection #Import the session Import-PSSession $Session -DisableNameChecking #Get all Members of Office 365 Group Get-Unifie
How to Get Office 365 Group Members using PowerShell? How to Get Office 365 Group Members using PowerShell? Reviewed by Salaudeen Rajack on April 07, 2019 Rating: 5
Powered by Blogger.