# Log Width Running Powershell

**URL:** https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514
**Category:** Discussion
**Created:** [January 11, 2017, 10:36am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514 "2017-01-11T10:36:07Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![mattdclark31](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@mattdclark31](https://www.finalbuilder.com/forums/u/mattdclark31)
#### Post date: [January 11, 2017, 10:36am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/1 "2017-01-11T10:36:07Z")

</div>

I’ve been working for awhile on trying to get the width to be more than 120 characters to avoid truncation without any luck.  
  
Doesn’t seem setting host screen width/buffer does anything or running as current profile with higher values do this. Do I need to save output to a file to accomplish this? Rather not have the extra coding when the log is there just is truncating my output.  
  
Thanks,  
  
Matt

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [January 11, 2017, 11:18am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/2 "2017-01-11T11:18:41Z")

</div>

FinalBuilder 8 will use all the character width provided. If the command console is set to have a buffer size of 200 fbcmd will use that full width before wrapping.   
  
 How is the console window being created that runs fbcmd?

---

<div class="post-metadata">

### Author: ![mattdclark31](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@mattdclark31](https://www.finalbuilder.com/forums/u/mattdclark31)
#### Post date: [January 12, 2017, 4:40am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/3 "2017-01-12T04:40:27Z")

</div>

Currently running from the GUI as that’s part of the draw for my company to this tool. We can see whats going on in real-time in an easy to understand interface.

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [January 12, 2017, 10:49am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/4 "2017-01-12T10:49:30Z")

</div>

In FinalBuilder 8 you can also resize the log window description column. You can make this any size and scroll horizontally as you require.

---

<div class="post-metadata">

### Author: ![mattdclark31](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@mattdclark31](https://www.finalbuilder.com/forums/u/mattdclark31)
#### Post date: [January 12, 2017, 11:28am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/5 "2017-01-12T11:28:47Z")

</div>

Here is an example of my log output; if I run this powershell command from the regular powershell command; it stretches since I have the window width and buffer width both set to like 1024.

However, I’m not sure how to make that work with this. I’m not sure where to change that property you mentioned besides the style sheet for to text.

 ![16810_buildlog](https://www.finalbuilder.com/forums/uploads/default/original/2X/6/6d81d5434cacc6cdbd7d24f93b8bac40e4f439c2.png)

---

<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: [January 13, 2017, 12:31pm UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/6 "2017-01-13T12:31:44Z")

</div>

Hi Matthew   
  
We don’t specify the console width when running powershell (it doesn’t have an option for it) so I guess that is the default, however what you can use is the Export-Console cmdlet to export a console file and then provide that to the action in FinalBuilder. Alternatively, you can modify your script to change the output column widths :   
  
[http://stackoverflow.com/questions/…lumn-width](http://stackoverflow.com/questions/978777/powershell-output-column-width)

---

<div class="post-metadata">

### Author: ![mattdclark31](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/m/ecd19e/32.png) [@mattdclark31](https://www.finalbuilder.com/forums/u/mattdclark31)
#### Post date: [January 13, 2017, 1:39am UTC](https://www.finalbuilder.com/forums/t/log-width-running-powershell/2514/7 "2017-01-13T01:39:06Z")

</div>

Thanks I have tried the ways already that the stackoverflow page listed. However, I’ll try and figure out how to do that export console and use that within finalbuilder
