文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 电脑基础知识 > Chapter 1. The PowerShell Console
侵权投诉

Chapter 1. The PowerShell Console

Chapter 1. The PowerShell Console

Chapter 1. The PowerShell Console

Figure 1.6: Specifying new fonts and font sizes

You should also try experimenting with TrueType fonts by using the "bold fonts" option. TrueType fonts are often morereadable if they're displayed in bold.

Your choice of fonts may at first seem a bit limited. To get more font choices, you can add them to theconsole font list. The limited default font list is supposed to prevent you from choosing unsuitable fontsfor your console.

One reason for this is that the console always uses the same width for each character (fixed width

fonts). This restricts the use of most Windows fonts because they're proportional typefaces: every character has itsown width. For example, an "i" is narrower than an "m". If you're sure that a certain font will work in the console,then here's how to add the font to the console font list.

Open your registry editor. In the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\

CurrentVersion\Console\TrueTypeFont insert a new "string value" and give this entry the name "00" (numbers, notletters).

If there's already an entry that has this name, then call the new entry "000" or add as many zeroes as required toavoid conflicts with existing entries. You should then double-click your new entry to open it and enter the name ofthe font. The name must be exactly the same as the official font name, just the way it's stated under the keyHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts.

The newly added font will now turn up in the console's option field. However, the new font will work only after youeither log off at least once or restart your computer. If you fail to do so, the console will ignore your new font whenyou select it in the dialog box.

Setting Window and Buffer Size

On the Layout tab, you can specify how large the screen buffer should be, meaning how much information the console should"remember" and how far back you can scroll with the scroll bars.

You should select a width of at least 120 characters in the window buffer size area with the height should be at least 1,000lines or larger. This gives you the opportunity to use the scroll bars to scroll the window contents back up so that you can lookat all the results of your previous commands.

上一页第8页

你可能喜欢

热门文档

相关文档

  • 1、PowerShell帮助篇

    该 cmdlet 可复制的特定项 取决于可用的 Windows PowerShell 提供程序。例如,与 FileSystem 提供程序一 起使用时,它可以复制文件和目录;与 Registry 提供程序一起...

  • PowerShell基础知识之一

    PowerShell 基础知识之一本 Blog 所发表的所有"原创文章", 未经许可, 禁止以任何形式进行转载. 作者: Edengundam(马涛) 如果要学一门语言, 你就必须对语言的...

  • PowerShell 1.0 用户指南

    PowerShell 1.0 用户指南_互联网_IT/计算机_专业资料。PowerShell 1.0 用户指南Windows PowerShell 语言快 速参考为不同类型的系统提供的本机支持 Windows ...

  • PowerShell 1.0 入门指南

    本文档介绍了 Windows PowerShell 的基本概念和功能,并提供了一些使用 Windows PowerShell 进行系统管理的建议方法。 目录 Windows PowerShell 入门版权声明 ... 8 Win...

  • PowerShell_ISE_v3

    Console Pane Go to Script Pane Cycle through command history Scroll to the...$psISE.CurrentPowerShellTab Defines the properties of the current PowerShell ...

  • PowerShell_Examples_v3

    Windows PowerShell 3.0 Examples Created by http://powershellmagazine.com How...The webpage is entirely Javascript-based, so you can access the console ...

  • Windows PowerShell 1.0 入门

    启动 Windows PowerShell 若要从“开始”菜单启动 Windows PowerShell,请依次单击“开始”“所有程序” Windows 、、 PowerShell 1.0 和 Windows PowerShell。 若要...

  • powershell命令大全

    向 Windows PowerShell 对象的实例中添加用户定义的自定义成 将一个或多个 ...Console Export-Counter Export-CSV Export-FormatData Export-ModuleMember Export-...

  • Windows Server 2008 R2 Powershell 命令的使用

    Key Message The Active Directory module for Windows PowerShell in Windows ...Console (MMC) snap-ins to connect to their Active Directory domains and ...

  • 第10章 Windows_PowerShell脚本编程

    方法如下:首先启 动安装好的Powershell,在命令窗口中输入如下命 令并回车: PS C:\> Export-Console myconsole ? 10.2.3 配置PowerShell ? ? 配置Windows ...

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email