-So as you look at my PowerShell window, you'll notice that I have a scroll bar across the bottom. This is a bad thing. Now this isn't a huge scroll bar but it does make the text shift back and forth. And if you wind up with a really big scrolling area what can happen is some Powershell output will wind up floating off the right side of the screen. So we're gonna fix that. Go after this icon here. Hit properties. The options tab, you can kinda configure whatever you want. You want a bigger cursor? That's fine.
I like to pick a better font. And I'll kinda show you what I'm talking about with the font in just a sec. It defaults to raster font. Change it to one of these other two fonts. Pick a font size you like. The real key stuff is on the layout tab. You wanna make sure that the window size width and the screen buffer size width are the same. You can see mine's off by one so I'm just gonna change it real quick. Once I do that and hit tab, watch this little preview window over here. Notice that the little horizontal scroll bar in the preview went away.
Now I wanna hit okay. That horizontal scroll bar also vanishes from the main window. That means all of my output will appear in the window and it won't be floating off. I won't have to scroll to see things. So that's kind of a good trick to avoid a lot of different confusing points. The other thing to watch for are these two characters. And to a lesser degree, these two characters. That first character is a back tick. It's also called a grave accent mark. On a U.S. keyboard it's usually located in the upper left.
It's right below the escape key usually on the same key that has the till, the little curly thing. The second character there is a single quotation mark or an apostrophe. And it's very important that you select a font that will allow you to easily differentiate between those two characters. It's really really easy to mess em up and it will really mess you up if you confuse them. The third character there is just a curly bracket. And the last one is a parenthesis. Those are pretty easy to tell apart in this font but make sure that you can tell the difference between them as well as the square bracket.
PowerShell uses all of those for something different so sometimes it's not a matter of picking a different font. Sometimes it's a matter of going back to this properties menu and picking a bigger version of the font. That way those characters stand out a lot more and you won't find yourself struggling to figure out which one is which.
Author
Released
3/10/2012Skill Level Intermediate
Duration
Views
Related Courses
-
Learning Virtualization
with Martin Guidry2h 51m Beginner -
Windows 7: Networking and Security
with Steve Fullmer4h 44m Intermediate
-
1. Introduction to Windows PowerShell
-
Find PowerShell1m 10s
-
Customize PowerShell2m 29s
-
2. Run Commands in PowerShell
-
Run basic commands3m 32s
-
Use PSDrives4m 29s
-
3. The PowerShell Help System
-
Use the help system4m 32s
-
Find commands in help3m 28s
-
Use parameters to add values4m 17s
-
Use online help4m 9s
-
4. The PowerShell Pipeline
-
Import and export: CSV5m 10s
-
Import and export: XML4m 7s
-
Output to a file or printer6m 14s
-
Convert data to HTML3m 23s
-
5. Extend PowerShell
-
Find and add PSSnapins2m 43s
-
6. Objects: Data, by Another Name
-
Discover the object's output6m 44s
-
Sort objects2m 50s
-
7. Dig Deeper into the PowerShell Pipeline
-
Use pipeline input: ByValue5m 19s
-
8. PowerShell Formatting
-
Use the default formatting3m 50s
-
Format wide lists1m 16s
-
Format regular lists2m 13s
-
Format tables4m 11s
-
Learn to format last3m 55s
-
9. Comparisons and Filtering
-
10. PowerShell Remoting
-
Enable PowerShell remoting1m 57s
-
Use one-to-one remoting4m 11s
-
Use one-to-many remoting4m 12s
-
11. PowerShell Jobs
-
Start a job2m 28s
-
Manage job objects4m 54s
-
12. Windows Management Instrumentation
-
Explore WMI5m 2s
-
13. Work with Multiple Objects at Once
-
14. PowerShell Security
-
Understand trust2m 17s
-
15. PowerShell Variables
-
Use variables1m 46s
-
Name variables3m 44s
-
Use single and double quotes4m 37s
-
Use arrays1m 30s
-
Give variables a data type2m 48s
-
16. Input and Output
-
Prompt for user input1m 11s
-
Write output to the pipeline3m 42s
-
Write other messages1m 24s
-
17. Remoting Sessions
-
Create reusable sessions2m 38s
-
18. Turning Commands into Reusable Tools
-
Create a command4m 17s
-
Document a script3m 15s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Customize PowerShell