I know how to delete permissions from lists and document libraries. Simply I can use the
BreakRoleInheritance, and I can remove every user. But I couldn't find a way to do this with a site.
$site =new-object Microsoft.SharePoint.SPSite (http://spt/spaces/thisisit)
$site doesn't have inheritance method (or I just don't know how to use it).
So how can I delete every permission on a site? Not on the lists, not on the document libraries, but on the site itself?