
Hi there,
This might be the right place to look to get the script of your requirements.
Understand Embedded Objects in PowerShell https://devblogs.microsoft.com/scripting/understand-embedded-objects-in-powershell/
Use an Easy PowerShell Command to Search Files for Information https://devblogs.microsoft.com/scripting/use-an-easy-powershell-command-to-search-files-for-information/
Weekend Scripter: Use PowerShell to Work with Embedded Objects https://devblogs.microsoft.com/scripting/weekend-scripter-use-powershell-to-work-with-embedded-objects/
--------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept it as an answer–