Removing the social bar (“Like and Views”) from a SharePoint Online page

I came across the simple tip and thought it worth sharing

When you have a “Social Bar” on your SharePoint Page and you want it removing – you can do so at the Site or Tenant Level.

I found the following tip on StackOverflow for removing from a site

#---Disable Social Bar on Site Pages
Connect-SPOService -Url https://yourdomain-admin.sharepoint.com
$site = "https://yourdomain.sharepoint.com/sites/sitecollection" 
Set-SPOSite -Identity $site -SocialBarOnSitePagesDisabled $true

Before

After