Page 1 of 1

Alignment of tabs\spaces issue in examples section of cmdlets help

Posted: Wed Sep 05, 2018 11:15 pm
by gokulks
To help you better we need some information from you.

*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***

Product, version and build: PowerShell HelpWriter 2018 v2.2.40
32 or 64 bit version of product: 64-bit version
Operating system: Windows 8.1
32 or 64 bit OS: 64-bit OS

*** Please add details and screenshots as needed below. ***
Hi Support Team,

Whenever spaces\tabs are there in the examples output of any cmdlets then it is not properly aligned in the actual PoweShell ISE\console output.
This alignment of spaces is little tricky so even if i copy a properly aligned example output from Powershell console and past it in the helpwriter editor the
final result in the console will be different. Can you please look into the issue.

Let me know if you need more information on same or screenshots i can provide.

Thanks,
Gokul

For e.g.,
EXAMPLES ( In Helpwriter tool )
--------------------------------------
PS C:\Windows\system32> $i = $con | Get-HPEiLOIntegratedRemoteConsoleSetting

PS C:\Windows\system32> $i
TrustedCertificateRequired : Yes
IP : 192.168.10.28
Hostname : xl170r-01gen10.powershvpn.com
Status : OK
StatusInfo :

TrustedCertificateRequired : Yes
IP : 192.168.10.31
Hostname : bl460cgen10-03.powershvpn.com
Status : OK
StatusInfo :

EXAMPLES OUTPUT ( In PowerShell output )
-----------------------------------------------------

PS C:\Windows\system32> $i = $con | Get-HPEiLOIntegratedRemoteConsoleSetting

PS C:\Windows\system32> $i
TrustedCertificateRequired : Yes
IP : 192.168.10.28
Hostname : xl170r-01gen10.powershvpn.com
Status : OK
StatusInfo :

TrustedCertificateRequired : Yes
IP : 192.168.10.31
Hostname : bl460cgen10-03.powershvpn.com
Status : OK
StatusInfo :


DO NOT POST SUBSCRIPTIONS, KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM

Re: Alignment of tabs\spaces issue in examples section of cmdlets help

Posted: Thu Sep 06, 2018 5:36 am
by mxtrinidad
It will help if you can please attach a copy of the file.

Thanks!

Re: Alignment of tabs\spaces issue in examples section of cmdlets help

Posted: Thu Sep 06, 2018 7:28 am
by davidc
I screenshot will work better, since alignment is dependent on the font.

What font do you have selected in Options->Editor->Font and Color? Try selecting a fixed-point font.