SetUserFTA.exe get scanner?
maybe theres an easier way to get this but trying to see if i can use Inventory to pull in some data for a users default file associations (specifically for a couple of them but overall could be helpful in the future i'm sure. I know i can use the PS command: setuserfta.exe get but i'm sure i'd have to run it as the logged in user (not sure yet if thats possible) and my initial tests the PS scanner didnt seem to break out the data the way i was hoping (file extension, default app columns....). curious if anyone has any experience with this or advice?
Comments
It's available in the Scan As dropdown on Scan Profiles: https://link.pdq.com/docs-PDQInventory?scan-profile-window.htm#details
That's because EXEs just return an array of strings. It looks like it outputs the strings in CSV format, so you should be able to turn it into a properly formatted object with ConvertFrom-Csv. I haven't tested this, but I think it should work:
If that doesn't work, you can try querying the following registry keys with either a Registry or PowerShell scanner:
Sources:
https://stackoverflow.com/a/51727990
https://social.technet.microsoft.com/Forums/en-US/43780476-8d03-4c02-b457-c94c8c317ab7/updating-default-apps-protocol-via-powershell
ahh thats right i know you've told me that already i keep forgetting about the .exe's! that did work great thank you! i forgot that setuserfta.exe isnt a built in utility but one you have to load first so i'll have to get that deployed first looks like