# PowerShell script problem

**URL:** https://www.finalbuilder.com/forums/t/powershell-script-problem/2009
**Category:** Discussion
**Created:** [July 3, 2012, 4:45am UTC](https://www.finalbuilder.com/forums/t/powershell-script-problem/2009 "2012-07-03T04:45:04Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [July 3, 2012, 4:45am UTC](https://www.finalbuilder.com/forums/t/powershell-script-problem/2009/1 "2012-07-03T04:45:04Z")

</div>

Hi,

Every time I try to insert a question mark in the script body FB (7.0.0.1864) gets stuck. When I change to a different script language like vbs it's working just fine. The same problem occurs when I try to copy paste it from notepad.

Please advise.

Cheers,

Ranch.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 4, 2012, 12:27pm UTC](https://www.finalbuilder.com/forums/t/powershell-script-problem/2009/2 "2012-07-04T12:27:10Z")

</div>

I can reproduce that here, very strange. I’ll look into it.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 4, 2012, 12:41pm UTC](https://www.finalbuilder.com/forums/t/powershell-script-problem/2009/3 "2012-07-04T12:41:13Z")

</div>

Appears to be an infinite loop in the powershell syntax highlighter. I’ll post here when I have a fix available.

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [July 4, 2012, 3:44am UTC](https://www.finalbuilder.com/forums/t/powershell-script-problem/2009/4 "2012-07-04T03:44:02Z")

</div>

This build should fix the problem : [http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700\_1923.exe](http://downloads.finalbuilder.com/downloads/finalbuilder/700/FB700_1923.exe)

---

<div class="post-metadata">

### Author: ![ranch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/bcef8e/32.png) [@ranch](https://www.finalbuilder.com/forums/u/ranch)
#### Post date: [July 4, 2012, 10:04am UTC](https://www.finalbuilder.com/forums/t/powershell-script-problem/2009/5 "2012-07-04T10:04:51Z")

</div>

Looks good.

Thank you for the quick response!
