To know in which sitecollection the recycle bin is filled.
Function GetallFilledRecyclebins($LogFile, $SiteUrl) { Start-Transcript -Path $LogFile $sitecollection = SPSite($SiteUrl) foreach ($web in $sitecollection.AllWebs) { Write-Host $web.Url + "->" + $web.RecycleBin.Count } Stop-Transcript } GetallFilledRecyclebins c:\temp\log.log http://www.url.com
Geen opmerkingen:
Een reactie posten