Hi @Shazmeister ,
Please try this PowerShell script:
1, Get the ComponentId of the Site Feed web part:
# Connect to SharePoint Online
Connect-PnPOnline -Url https://yourtenant.sharepoint.com/sites/yoursite -UseWebLogin
# Get the ComponentId of the Site Feed web part
Get-PnPClientSideComponent -Scope Web | Where-Object {$_.Name -eq "SiteFeed"}
2, Disable the social bar on the home page through ComponentId:
# Disable social bar on home page
Set-PnPClientSideWebPart -Page "Home.aspx" -Identity "SiteFeed" -ComponentId "ComponentId" -Properties @{"FeedType"="None"}
Replace "https://yourtenant.sharepoint.com/sites/yoursite" with the URL of your SharePoint Online site, and "Home.aspx" with the name of your home page if it's different. This script disables the social bar on the home page by setting the "FeedType" property of the "SiteFeed" web part to "None".
Please note that you need to have the SharePoint PnP PowerShell module installed to run this script.
There is a post of Salaudeen Rajack about pnp PowerShell module for your reference:
https://www.sharepointdiary.com/2018/03/connect-to-sharepoint-online-using-pnp-powershell.html
Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.