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

Popular posts from this blog

Edit Group Policy

Hyper-V VM not reaching OS 'Logon' screen

DNS question...