Extending Extended Attributes
I hope you’ve enjoyed this series of articles on working with extended attributes in PowerShell. I want to stress, though, that don’t skip this material or treat it lightly if you feel it doesn’t apply to or interest you. The techniques and scripting concepts can apply to anything. At the very least, use this material as a reference or guide for your work.
I think I left off last time with a function to get generic file information using extended attributes.
PS L:\> get-genericFile C:\work\Get-OS.ps1
Location: C:\work
Attrib FileName Size LastModified Type
------ -------- ---- ------------ ----
A Get-OS.ps1 2253 12/15/2022 5:47:00 PM Windows PowerShell Script
I’m using a configuration data file to control what properties I gather.
Want to read the full issue?