Help me with this script .. AS I am getting this below error. Citrix health check script

At C:\Test script\mufgtest.ps1:156 char:20
+ <meta http-equiv= 'Content-Type' content='text/html; charset=iso-8859-1'>
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unexpected token 'Content-Type' content='text/html' in expression or statement.
At C:\Test script\mufgtest.ps1:317 char:30
+                 if($response -like '*ICA*'){
+                                          ~~~
The string is missing the terminator: '.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : UnexpectedToken

  • There is far too little info in your post to help you. Yet, the error indicates that it's a syntax error on the shown line number. Unless you post you script, you leave folks to guess. Open the script in the PowerShell ISE or VSCode as they have color coding to show where your obvious code syntax errors are.