Forum Discussion
May 31, 2021
Measure Folder size containing SymbolicLink
Hello, I have the fallowing problem. I want to get the size of folders but some of them have subfolders that are SymbolicLink to other folders. How do I easily exclude them? function GetFolderS...
farismalaeb
Jun 06, 2021Iron Contributor
Adrian Chirtoc You will need to add the following filter
where {$_.LinkType -notlike "SymbolicLink"}
Jun 13, 2021
This at me did not skip the files inside the folder that had the SymolicLink as they do not have this property. Only the folder has it.
- farismalaebJun 13, 2021Iron ContributorCan you share the PowerShell Property members for the folder and SL.