

Get-(Tab)
Just make sure that there's no space before the cursor when you press (Tab). Keep hitting (Tab) to see all the commands thatbegin with "Get-".
A more complete review of the Tab-completion feature is available in Chapter 9.
Tab-completion works really well with long path names that require a lot of typing. For example:
c:\p(Tab)
Every time you press (Tab), PowerShell will prompt you with a new directory or a new file that begins with "c:\p." So, the morecharacters you type, the fewer options there will be. In practice, you should type in at least four or five characters to reduce thenumber of suggestions.
When the list of suggestions is long, it can take a second or two until PowerShell has compiled all the possible suggestionsand displays the first one.
Wildcards are allowed in path names. For example, if you enter c:\pr*e (Tab) in a typical Windowssystem, PowerShell will respond with "c:\Program Files".
PowerShell will automatically put the entire response inside double quotation marks if the responsecontains whitespace characters.
Scrolling Console Contents
The visible part of your console depends on the size of your console window, which you can change with your mouse. Dragthe window border while holding down your left mouse button until the window is the size you want. Note that the actualcontents of the console, the "screen buffer," don't change. So, if the window is too small to show everything, you should usethe scroll bars.
Selecting and Inserting Text
Use your mouse if you'd like to select text inside the PowerShell window and copy it onto the clipboard. Move the mousepointer to the beginning of the selected text, hold down the left mouse button and drag it over the text area that you want toselect.
QuickEdit Mode
QuickEdit is the default mode for selecting and copying text in PowerShell. Select the text using your mouse and PowerShellwill highlight it. After you've selected the text, press (Enter) or right-click on the marked area. This will copy the selected text tothe clipboard which you can now paste into other applications. To unselect press (Esc).

You can also insert the text in your console at the blinking command line by right-clicking your mouse.
该 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 ...
热门文档