get sandbox resource points used per day
i want powershell script thats applicable on moss/sp2010, i give site collection to retrieve how many sandbox resource points had been used each day
[system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint") > $null
$siteurl = "https://contoso.com/"
$currentsite = new-object microsoft.sharepoint.spsite($siteurl)
$currentusedresources = $currentsite.currentresourceusage
write-host "current used points:" + $currentusedresources
$currentsite.dispose()
Windows Server > Windows PowerShell
Comments
Post a Comment