In reply to Ramya.

That Get-Content won't work, as the EGP file is binary and the program is an element inside. However, you'll find some PowerShell examples here that might help -- these automate SAS Enterprise Guide and can extract content for you.