Hacker News new | ask | show | jobs
by steve1977 62 days ago
Not only that, it's also typed.

So if you iterate over files for example, you can get the modification date as an actual DateTime property and not some string that might contain a date in some locale that you potentially have to parse then.

1 comments

Also - regarding linked article's statement "PowerShell joins MSI files as another type that cannot be run as an administrator" - I have always just started a PowerShell/Terminal app as administrator which has more or less the same effect, though of course everything in that session is run with elevated permissions.
I don't even fully understand what the article means with that regarding MSI.

Windows Installer will elevate automatically (i.e. prompt with UAC if needed) if you're administrator. Or you as you say you open a command prompt as administrator and run the MSI with msiexec.