Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner - PowerShell.com– PowerShell Scripts, Tips, Forums, and Resources (F9) (Left arrow), (Right arrow) (Arrow up), (Arrow down), (F5), (F8) (Home) (Backspace) (Ctrl)+(C) (Ctrl)+(End) (Ctrl)+(Arrow left), (Ctrl)+(Arrow right) (Ctrl)+(Home) (Tab) Opens a dialog box in which you can enter the number of a command from your command history to return the command. (F7) displays numbers of commands in command history Move one character to the left or right respectively
Repeat the last previously entered command Moves editing cursor to beginning of command line Deletes character to the left of the insertion point Cancels command execution Deletes all characters from current position to end of command line Move insertion point one word to the left or right respectively Deletes all characters of current position up to beginning of command line Automatically completes current entry, if possible
Table 1.1: Important keys and their meaning in the PowerShell console You will find that the keys (Arrow up), which repeats the last command, and (Tab), which completes the current entry, are particularly useful. By hitting (Enter), you complete an entry and send it to PowerShell. If PowerShell can't understand a command, an error message appears highlighted in red stating the possible reasons for the error. Two special commands are cls (deletes the contents of the console) and exit (ends PowerShell). You can use your mouse to select information in the console and copy it to the Clipboard by pressing (Enter) or by rightclicking when you have the QuickEdit mode turned on. With QuickEdit mode turned off, you will have to right-click inside the console and then select Mark in a context menu. The basic settings of the console—QuickEdit mode as well as colors, fonts, and font sizes—can be customized in the properties window of the console. This can be accessed by right-clicking the icon to the far left in the title bar of the console window. In the dialog box, select Properties. Along with the commands, a number of characters in the console have special meanings and you have already become acquainted with three of them: Piping: The vertical bar"|" symbol pipes the results of a command to the next. When you pipe the results to the command more, the screen output will be paused once the screen is full, and continued when you press a key. Redirection: The symbol">" redirects the results of a command to a file. You can then open and view the file contents. The symbol">>" appends information to an existing file. PowerShell 2.0 also comes with a simple script editing
tool called"ISE" (Integrated Script Environment). You find it in PowerShell’s jump list (if you are using Windows 7), and you can also launch it directly from PowerShell by entering ise ENTER. ISE requires .NET Framework 3.5.1. On Windows Server 2008 R2, it is an optional feature that needs to be enabled first in your system control panel. You can do that from PowerShell as well: Import-Module ServerManager Add-WindowsFeature ISE -IncludeAll Posted Mar 08 2012, 11:00 PM by ps1
Comments Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner - Powershell.com??? Powershell Scripts, Tips and Resources wrote Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner Powershell.com??? Powershell Scripts, Tips and Resources on 03-28-2012 11:35 AM
Pingback from Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner Powershell.com??? Powershell Scripts, Tips and Resources
Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner - Powershell.com??? Powershell Scripts, Tips and Resources wrote Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner Powershell.com??? Powershell Scripts, Tips and Resources on 03-28-2012 12:05 PM
Pingback from Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner Powershell.com??? Powershell Scripts, Tips and Resources
Chapter 1. The PowerShell Console - Master-PowerShell| With Dr. Tobias Weltner - Powershell.com??? Powershell Scripts, Tips and Resources wrote Chapter 1. The
doc.guandang.net[2014/05/08 09:23:15]

该 cmdlet 可复制的特定项 取决于可用的 Windows PowerShell 提供程序。例如,与 FileSystem 提供程序一 起使用时,它可以复制文件和目录;与 Registry 提供程序一起...
PowerShell 基础知识之一本 Blog 所发表的所有"原创文章", 未经许可, 禁止以任何形式进行转载. 作者: Edengundam(马涛) 如果要学一门语言, 你就必须对语言的...
PowerShell 1.0 用户指南_互联网_IT/计算机_专业资料。PowerShell 1.0 用户指南Windows PowerShell 语言快 速参考为不同类型的系统提供的本机支持 Windows ...
本文档介绍了 Windows PowerShell 的基本概念和功能,并提供了一些使用 Windows PowerShell 进行系统管理的建议方法。 目录 Windows PowerShell 入门版权声明 ... 8 Win...
Console Pane Go to Script Pane Cycle through command history Scroll to the...$psISE.CurrentPowerShellTab Defines the properties of the current PowerShell ...
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 若要从“开始”菜单启动 Windows PowerShell,请依次单击“开始”“所有程序” Windows 、、 PowerShell 1.0 和 Windows PowerShell。 若要...
向 Windows PowerShell 对象的实例中添加用户定义的自定义成 将一个或多个 ...Console Export-Counter Export-CSV Export-FormatData Export-ModuleMember Export-...
Key Message The Active Directory module for Windows PowerShell in Windows ...Console (MMC) snap-ins to connect to their Active Directory domains and ...
方法如下:首先启 动安装好的Powershell,在命令窗口中输入如下命 令并回车: PS C:\> Export-Console myconsole ? 10.2.3 配置PowerShell ? ? 配置Windows ...
热门文档