I would like to access info from an ArchiveDecompress task. I would like to either get the password that is stored or at a minimum be able to see if the task is marked to use a password on extraction. Right now I don't see anywhere in the API that indicates if the archive uses a password or not, so I'm thinking that is encoded in the ArchiveDecompress.PassWord method.
Here's what I'm trying to use that does not give me usable string: [string][System.Text.Encoding]::ASCII.GetString($_.ArchiveDecompress.PassWord)
Any help would be appreciated.
Edited by moderator
2019-05-16T12:53:02Z
|
Reason: Not specified