![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Get-Command -Usage should not display empty lines When you do "get-command -Usage <cmdlet|alias>", for "cmdlet", it displays two empty lines before the next prompt while for "alias", there is none. The behavior is inconsistent and empty lines reduces redability(as well as copying from Console would require one to modify it to reduce vertical space) Here is the way to reproduce the behavior ============================== # For an alias "ls", no newline character before the next prompt. [^_^]PS[1]>gcm -Usage ls Get-ChildItem [^_^]PS[2]>gcm -Usage Get-ChildItem Get-ChildItem [[-Path] <String[]>] [[-Filter] <String>] [-Include <String[]>] [ -Exclude <String[]>] [-Recurse] [-Force] [-Verbose] [-Debug] [-ErrorAction <Act ionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-OutBuffer < Int32>] Get-ChildItem [[-Path] <String[]>] [[-Filter] <String>] [-Include <String[]>] [ -Exclude <String[]>] [-Recurse] [-Force] [-Name] [-Verbose] [-Debug] [-ErrorAct ion <ActionPreference>] [-ErrorVariable <String>] [-OutVariable <String>] [-Out Buffer <Int32>] [^_^]PS[3]> ============================== As you can see, before the 3rd prompt, there are two blank spaces. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/communities...ows.powershell |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Pink Lines Through Display Picture | Live Messenger | |||
| DISPLAY ERROR - LINES (ATI RADEON X1600) | Vista hardware & devices | |||
| file folder icons display non-empty folders as empty | Vista file management | |||
| Redirection of stdout adding lots of empty lines | PowerShell | |||
| Huge yellow lines on my display???? | Vista General | |||