truthiop.blogg.se

Foldersizes v8.3.150
Foldersizes v8.3.150













foldersizes v8.3.150

Unlocks all selected files on the screen. As in all other operations, the Administrator's password may NOT be used to override the original password. Once a file is locked, it can only be unlocked using the same password that it was locked with. Locks (encrypts) all checked files on the screen with the password entered in the password field. Once a file is locked, or hidden, it cannot be read or used by anyone until it is unlocked or shown again. Owner = (Get-Acl $FileObject.FullName).Instantly locks or hides any file using a password with a click. 'Last Updated' = $FileObject.LastWriteTime $Object = New-Object PSObject -Property Name' = $FileObject.FullName $RawSize = (Get-ChildItem $FileObject.FullName -Recurse | Measure-Object Length -Sum).Sum (Run from Powershell and navigate to where you saved the script to)

foldersizes v8.3.150

Updated to use the ComObject Scripting.FileSystemObject, inspired by:ĭownload file and save as Get-FolderSizes.ps1.

foldersizes v8.3.150

Originally inspired by this question in the Powershell forum: Recurse will do all sub-folders.Įver wanted to get a list of folders and their sizes? This script will produce a nice HTML report with folder path, Owner, folder creation time, last updated time and size of folder.

foldersizes v8.3.150

V1.3: Added Recurse parameter and changed default behavior of script to do only 1 level of folders. V1.4: Added Sort and Descending parameters to control the sort of your report. Tightened up the final report so it looks a little better.ġ.41: found a bug in the Total Size reporting. I figure SOME result is better than none. While the COM object is much faster, it will return 0 if it has any problem in the folder structure (such as a typical access denied when running against C:\Windows). Also switched away from using the COM Object. 1.5: Added ability to process multiple paths, both from array input as well as from the pipeline.















Foldersizes v8.3.150