Probation-windows PowerShell Combat Guide (2nd edition)

Source: Internet
Author: User
Tags windows 7 x64


See the Windows PowerShell Real-Combat Guide (2nd Edition), think of my girlfriend gave me the first birthday gift, what is it?

A book, the name of the book is: Windows 2000 script Programming Practical encyclopedia;

Time flies so fast that 10 years passed;

Why did you choose such a book as a birthday present?

It's a secret, I want to go!


Come back to the point, why do you see the Windows PowerShell Combat Guide (2nd edition) that reminds me of the Windows 2000 Script programming utility?

Take a look at the following example:

var ws = WScript.CreateObject ("Wscript.Shell"); var scut = ws. CreateShortcut ("testcs_dn. URL "); scut. TargetPath = "Http://blog.csdn.net/testcs_dn"; scut. Save ();
Save the code as "Url_link.js", modify the file properties, open as: Microsoft Windows Based Script Host

Then double-click to run the file and a shortcut will be generated in the current directory:

Powershell,wscript.shell, all with a Shell, I think PowerShell can be achieved through Wscript.Shell, CMD, bat basically can be achieved, but the way PowerShell implemented more convenient, fast, elegant, More close to the use of Linux users habits!

The right Reader

First knowledge of PowerShell

The system I use is Windows 7 x64, without installation,

Click the Start menu and enter PowerShell in the search box, such as:


Select Windows PowerShell to open the PowerShell window and enter LS or pwd to try it out:


The Integrated Scripting Environment (ISE) enters Ise in the PowerShell window just opened and returns to the Integrated scripting Environment (ISE).


How to view the current version such as: Input $PSV and then press the TAB key, will automatically fill the name, this is very useful, and then press F5 key, you will see the following output;


Summary as long as the use of CMD, a bit of programming based on the people, PowerShell is very easy to learn to get started;


Why do a bunch of DBAs translate this book?

Hopefully the translator can provide a few examples to show the flash of PowerShell in the DBA's hands!


===========================================================================================

Someone asked: "Does your boss have any shortcomings?" "There!" More like the stars in the sky "does your boss have a lot of merit?" "Less!" Less is like the sun in the sky! ”.. “ Then why are you following him? "Because when the sun comes out, the stars are out of sight!" "To the noisy, scold not scattered team understanding, tolerance is a kind of wisdom." Cherish will have, Thanksgiving will last forever! to the team!













Probation-windows PowerShell Combat Guide (2nd edition)

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.