1

What's the difference between the Get-SPSite vs Get-MgSite Powershell queries?

I read the documentation but am not able to see what's the difference between those.

1 Answer 1

1

The basic difference between these commands is Get-SPSite uses SharePoint PowerShell and Get-MgSite uses Microsoft Graph Powershell

Also, as per the documentation Get-MgSite,

Get-MgSite retrieves properties and relationships for a [site][] resource. A site resource represents a team site in SharePoint.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.