Skip to main content
Tanaka Saito's user avatar
Tanaka Saito's user avatar
Tanaka Saito's user avatar
Tanaka Saito
  • Member for 3 years, 8 months
  • Last seen more than a month ago
  • Japan
Loading…
comment
Find all unique file owners through Powershell in an NTFS file system
I tried this back and forth but unfortunately I can't see any performance difference between using the Group-Object approach and this :( I assume that this is because the vast majority of the time is spent reading the owner information with .GetAccessControl() and that the time saving from Group-Object is comparatively negligeble. Although I do admit I haven't tried this in production yet so it could still be the case that this approach is somewhat faster should the Group-Object start taking hours. I will update when I have verified this!
Loading…
awarded
Loading…
awarded
Loading…
awarded
awarded
comment
Creating a specific distribution of random numbers in Powershell
Wow, thank you! I'm still fairly new to programming in general and powershell in particular so the [System.Linq.Enumerable] was complete news to me.
Loading…