
How do I recover the original form file (.psf)? Therefore, it is very important that you do not modify the generated comments / headers within the exported script. The rest of the user generated script / event blocks are recovered from the exported script itself. The data block only contains form and settings information. If you modify this recovery comment block you will NOT be able to recover your original form. For your convenience, the data block is contained in a collapsible region: As you can see, the recovery data block is contained within a comment to prevent any modification to the script’s logic. This block of data that contains all the relevant form data including other information such as packager settings (excluding security information). When you enable Data Recovery and export a script, PowerShell Studio will insert a special block of data: Under the Export section check the “Embed Recovery Data in Exported Scripts” option. To enable Recovery, go to Options->Designer. This article will help answer any questions you may have about the new recovery feature. PowerShell Studio has a Data Recovery feature to prevent this scenario from occurring again.

The only solution was to recreate the form by hand and manually paste the event scripts into the new form.


Naturally they would ask us if they could recover the original form from the exported script. These users only had an exported GUI script. Over time we have had various users who needed to alter the form but lost the original psf file.
