Learn Windows PowerShell in a Month of Lunches

By Don Jones, Jeffery Hicks


Learn home windows PowerShell in a Month of Lunches, moment Edition is an cutting edge instructional designed for directors. simply put aside one hour a day—lunchtime will be perfect—for a month, and you will be automating home windows initiatives speedier than you ever suggestion attainable. you are going to begin with the basics—what is PowerShell and what are you able to do with it. Then, you will flow systematically during the strategies and contours you will use to make your activity more uncomplicated and your day shorter.

buy of the print booklet comes with a proposal of a unfastened PDF, ePub, and Kindle publication from Manning. additionally on hand is all code from the booklet.

About the Technology

PowerShell is either a language and an administrative shell with that you can keep an eye on and automate approximately each element of home windows. It accepts and executes instructions instantly, and you'll write scripts to control such a lot home windows servers like alternate, IIS, and SharePoint.

About the Book

This booklet is an academic designed for busy directors. simply put aside one hour an afternoon for a month and you can examine the entire sensible suggestions you want to make your activity more straightforward and your day shorter. this positively revised booklet covers new PowerShell good points that run on home windows 7, home windows Server 2008 R2, and later. This version is suitable for PowerShell model three and later.

Experience with home windows management is beneficial. No programming event is thought.

What's Inside

  • Learn PowerShell from the beginning—no event required!
  • Covers PowerShell three and later operating on home windows 7, home windows Server 2008R2, and later
  • Each lesson should still take you one hour or less

About the Authors

Powershell MVPs Don Jones and Jeffery Hicks carry years as profitable running shoes to this concise, easy-to-follow e-book. Don blogs at PowerShell.com and you'll locate Jeff at jdhitsolutions.com/blog.

Table of Contents

  1. Before you begin
  2. Meet PowerShell
  3. Using the assistance system
  4. Running commands
  5. Working with providers
  6. The pipeline: connecting commands
  7. Adding commands
  8. Objects: facts by way of one other name
  9. The pipeline, deeper
  10. Formatting—and why it is performed at the right
  11. Filtering and comparisons
  12. A useful interlude
  13. Remote keep watch over: one to 1, and one to many
  14. Using home windows administration Instrumentation
  15. Multitasking with historical past jobs
  16. Working with many gadgets, one at a time
  17. Security alert!
  18. Variables: a spot to shop your stuff
  19. Input and output
  20. Sessions: handheld remote control with much less work
  21. You name this scripting?
  22. Improving your parameterized script
  23. Advanced remoting configuration
  24. Using ordinary expressions to parse textual content files
  25. Additional random assistance, tips, and techniques
  26. Using a person else's script
  27. Never the end
  28. PowerShell cheat sheet

Show description

Preview of Learn Windows PowerShell in a Month of Lunches PDF

Best Computers books

Networks: An Introduction

The clinical examine of networks, together with laptop networks, social networks, and organic networks, has bought a big volume of curiosity within the previous couple of years. the increase of the web and the large availability of cheap desktops have made it attainable to collect and learn community information on a wide scale, and the improvement of numerous new theoretical instruments has allowed us to extract new wisdom from many various types of networks.

LaTeX: A Document Preparation System (2nd Edition)

LaTex is a software program approach for typesetting records. since it is mainly solid for technical files and is accessible for nearly any laptop approach, LaTex has turn into a lingua franca of the clinical international. Researchers, educators, and scholars in universities, in addition to scientists in undefined, use LaTex to provide professionally formatted papers, proposals, and books.

Building a WordPress Blog People Want to Read

Having your individual web publication is not just for the nerdy anymore. this day, it sort of feels everyone—from multinational companies to a neighbor up the street—has a weblog. all of them have one, partly, as the fogeys at WordPress make it effortless to get one. yet to really construct a very good blog—to create a web publication humans are looking to read—takes suggestion, making plans, and a few attempt.

AutoCAD 2008 For Dummies

A gradual, funny creation to this fearsomely complicated software program that is helping new clients begin developing 2nd and 3D technical drawings instantly Covers the hot good points and improvements within the most modern AutoCAD model and gives assurance of AutoCAD LT, AutoCAD's lower-cost sibling issues lined contain making a easy format, utilizing AutoCAD DesignCenter, drawing and modifying, operating with dimensions, plotting, utilizing blocks, including textual content to drawings, and drawing on the net AutoCAD is the prime CAD software program for architects, engineers, and draftspeople who have to create precise second and 3D technical drawings; there are greater than five million registered AutoCAD and AutoCAD LT clients

Extra resources for Learn Windows PowerShell in a Month of Lunches

Show sample text content

Bool Equals(System. item obj), bool Equals(int ... int GetHashCode() kind GetType() process. TypeCode GetTypeCode() string ToString(), string ToString(string format... right here, I put an integer into $var, after which I piped $var to Gm. you will see that the shell now acknowledges the contents of $var as a procedure. Int32, or a 32-bit integer. 15. three enjoyable tips with charges Now that we’re conversing approximately variables, it’s a great time to hide a neat PowerShell characteristic. to date during this ebook, I’ve steered that you just in general enclose strings inside of unmarried citation marks. There’s a reason behind that: PowerShell treats every thing enclosed in unmarried citation marks as a literal string. contemplate this instance: playstation C:\> $var = 'What does $var comprise? ' playstation C:\> $var What does $var include? right here, you will find that the $var inside unmarried charges is taken care of as a literal. In double citation marks, although, that’s now not the case. try out this trick: playstation C:\> $computername = 'SERVER-R2' playstation C:\> $phrase = "The machine identify is $computername" playstation C:\> $phrase the pc identify is SERVER-R2 i began by means of storing SERVER-R2 within the variable $computername. subsequent, I saved "The laptop identify is $computername" within the variable $phrase. while I did so, I used double prices. PowerShell will immediately hunt down buck indicators inside double rates, and obtain from Wow! booklet 173 enjoyable tips with prices exchange any variables it unearths with their contents. So while I displayed the contents of $phrase, $computername used to be changed with SERVER-R2, the contents of the variable. This substitute motion in simple terms occurs whilst the string is firstly parsed by way of the shell. So, instantaneously, $phrase includes "The laptop identify is SERVER-R2"—it doesn’t include the "$computername" string. i will be able to attempt that by means of attempting to switch the contents of $computername, and seeing if $phrase updates itself: playstation C:\> $computername = 'SERVER1' playstation C:\> $phrase the pc identify is SERVER-R2 The $phrase variable stayed a similar. one other part of this double fees trick is the PowerShell get away personality. This personality is the backtick (`), and on a U. S. keyboard it’s situated on one of many upperleft keys, often lower than the get away key and typically at the related key because the tilde (~) personality. the matter is that, in a few fonts, it’s essentially indistinguishable from a unmarried quote. in truth, I frequently configure my shell to exploit the Consolas font, since it makes it a bit of more uncomplicated to differentiate the backtick than the Lucida Console or Raster font. click on the regulate field within the upper-left nook of your PowerShell window, and choose houses. at the Font tab, opt for the Consolas font. click on okay, after which variety a unmarried quote and a backtick for you to see the adaptation among those characters. determine 15. 1 exhibits what it appears like on my process. Can’t see the adaptation? I slightly can, both, even if utilizing a fairly large font dimension. It’s a difficult contrast, yet determine you’re cozy distinguishing among them in no matter what font face and dimension you choose.

Download PDF sample

Rated 4.80 of 5 – based on 8 votes