You may have noticed that the Script Module will replace all uppercase keywords (such as If, Else, While and Do) with lowercases. This may affect a script you are using when if a specific text needs to be used for notification/recording purposes.
This is a product defect (TF00627007). Currently, the Script Module will always work as a script editor (not a text editor), that’s the reason while entering any keywords such as (if,else,while,do ) the Script Module automatically replaces the entry with the equivalent script keywords from its library.
The desired future behaviour would be something like PowerShell ISE and it's capability of handling of text within a block.
1) Reword the affected text so it will not rely on the uppercased letter (i.e. ‘Note: if you want…’ or ‘Please, if you want…’);
2) If using CSS, use a command like enforce the uppercase:
if you want to continue…
2) Use concatenating strings to separate the uppercased letter in the script module, but maintain the original text:
This will be fixed on a future release of the product. If you require this immediately corrected, please contact support for a hotfix referencing the defect ID TF00627007.