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

This forum can be browsed by the general public. Posting is limited to current SAPIEN license holders with active maintenance and does not offer a response time guarantee.
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 5 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
User avatar
gokulks
Posts: 6
Last visit: Thu Sep 06, 2018 11:28 pm

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

Post 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
User avatar
mxtrinidad
Posts: 399
Last visit: Tue May 16, 2023 6:52 am

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

Post by mxtrinidad »

It will help if you can please attach a copy of the file.

Thanks!
User avatar
davidc
Posts: 5913
Last visit: Mon Jul 08, 2019 8:55 am
Been upvoted: 2 times

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

Post 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.
David
SAPIEN Technologies, Inc.
This topic is 5 years and 6 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.