How are Get-SPsite and Get-SPweb different?

What is the difference between Get-SPweb and Get-SPsite?

Get-SPweb is used to get a sub site of a Site Collection.

Microsoft’s definition: Returns all subsites that match the given criteria.

Get-SPsite is used to get a Site Collection.

Microsoft’s definition: Returns all site collections that match the given criteria.

Leave a Reply

Your email address will not be published. Required fields are marked *