char 02 First Knowledge Powershell

Source: Internet
Author: User

1 PowerShell icon

Windows Powershell

Windows PowerShell (X86)

Windows PowerShell ISE: Graphical console

Windows PowerShell ISE (X86)

2 PowerShell Integrated Scripting environment

If open, normal console program, input ISE, can directly open Ise OH

PowerShell's console application, support for 4 kinds of "tab" key completion

1) Enter Get-s Press a few "tab" key, then press Shift + Tab key combination, PowerShell will cycle show all commands beginning with get-s

2) Enter Dir d:\, and then press TAB key to D:\ Folder start, loop traversal, all available files or folder names

3) input SET-EXECU, press Tab key, complete the command, then press space, then enter-, will list the available parameters

4) The legal value of the parameter

Note: When entering in PowerShell, be extremely careful because, in some cases, a misplaced space, quotation mark, or single quote can cause errors or failures

Common pitfalls:

1) In the console application, set as far as possible, no horizontal scroll bar

2) 32-bit vs 64-bit, use 64-bit as much as possible,

3) Ensure that the administrator is displayed on the application's form

3 Viewing the current version

$PSVersionTable

  

char 02 First Knowledge Powershell

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.