Cannot delete line in .ps1 script that is causing an error
Forum rules
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Do not post any licensing information in this forum.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Cannot delete line in .ps1 script that is causing an error
When attempting to run a form script I am getting an error for a line that is contained in the .ps1 file. How do I get rid of the offending line? I am using Powershell Studio 2021 version 5.8.196.0 and I have attached a PDF of the error message being shown.
- Attachments
-
- PS Studio error.pdf
- (12.92 KiB) Downloaded 92 times
Re: Cannot delete line in .ps1 script that is causing an error
Based off the information provided, there is many things that could be wrong and without seeing the actual script, I can only make guesses.
Please export the psf file to a ps1 (Deploy->Export->Export to File), then open the exported file to see if there are any errors.
Please export the psf file to a ps1 (Deploy->Export->Export to File), then open the exported file to see if there are any errors.
Brittney
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.