Welcome to MSDN Blogs Sign in | Join | Help

Free PowerShell Book

Frank Koch has written a Windows PowerShell book and made it available for FREE download HERE. The subtitle is "An introduction to scripting technologies for people with no real background knowledge".

Here is the table of contents:

Contents

OBJECTIVES IN DRAFTING THIS BOOK .................................................................................................... 2

OTHER SOURCES OF INFORMATION ONLINE ........................................................................................... 2

USEFUL KEY COMBINATIONS FOR SWISS STANDARD KEYBOARDS ................................................................ 3

FIRST IMPRESSIONS OF WINDOWS POWERSHELL .................................................................................... 5

ADDITIONAL USES FOR OUTPUT: "PIPING" OBJECTS ................................................................................. 7

INITIAL EXERCISES WITH WINDOWS POWERSHELL OBJECTS ...................................................................... 8

WORKING WITH PROCESSES ................................................................................................................ 8

OUTPUT IN A TXT, CSV OR XML FILE ................................................................................................... 9

OUTPUT IN COLOR ............................................................................................................................. 9

CHECKING CONDITIONS USING THE IF CMDLET ......................................................................................11

OUTPUT IN HTML ..........................................................................................................................13

WORKING WITH FILES ......................................................................................................................15

FINDING OBJECT INFORMATION USING GET-MEMBER ............................................................................16

DELETING FILES ...............................................................................................................................17

CREATING FOLDERS .........................................................................................................................18

IF YOU HAVE TIME … ........................................................................................................................21

WINDOWS POWERSHELL AS GENERIC OBJECT PROCESSING MACHINE .......................................................22

WMI OBJECTS ...............................................................................................................................22

WORKING WITH .NET OBJECTS AND XML ...........................................................................................24

WORKING WITH COM OBJECTS .........................................................................................................25

WORKING WITH EVENT LOGS ............................................................................................................28

SOLUTION SCRIPTS TO THE EXERCISES IN THIS BOOK ...............................................................................29

WINDOWS POWERSHELL EXAMPLES FROM SIMPLE TO COMPLEX ..........................................................32

THEORETICAL PRINCIPLES FOR WINDOWS POWERSHELL ........................................................................34

WINDOWS POWERSHELL – A BRIEF INTRODUCTION .............................................................................34

AIMS OF DEVELOPING WINDOWS POWERSHELL ...................................................................................34

ON TEXTS, PARSERS AND OBJECTS ......................................................................................................34

A NEW SCRIPTING LANGUAGE ............................................................................................................35

WINDOWS COMMANDS AND SERVICE PROGRAMS ................................................................................36

AN INTERACTIVE ENVIRONMENT ........................................................................................................36

SCRIPT SUPPORT .............................................................................................................................36

CMD, WSCRIPT OR POWERSHELL? DO I HAVE TO DECIDE? ...................................................................36

WINDOWS POWERSHELL 1.0 ............................................................................................................36

SECURITY WHEN USING SCRIPTS .........................................................................................................38

Give it read and let him know what you think.

Enjoy

Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Published Friday, May 11, 2007 4:51 AM by PowerShellTeam

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: Free PowerShell Book in GERMAN

for those interested in the German version (as most of the links on Google for "frank koch powershell" are outdated):

http://download.microsoft.com/download/7/3/b/73ba405f-e693-461c-99fc-0920bc02c18c/Windows-Powershell.pdf

Friday, May 11, 2007 2:42 AM by andreas

# re: Free PowerShell Book

I can't find this book anywhere. I followed through the german pages best I could, with no luck.

Saturday, May 12, 2007 10:42 AM by Calvin Spealman

# re: Free PowerShell Book

https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx?wizid=adf74b41-ae6a-42f4-8445-db39ecabb8b3&lcid=2055&fu=http://download.microsoft.com/download/a/9/4/a94270c7-ed16-4c72-8280-658c66315719/Windows%20Powershell%20-%20EN.zip

You'll need to register and the trick is that you need to click the "Fertig stellen" button.  

Jeffrey Snover [MSFT]

Windows Management Partner Architect

Visit the Windows PowerShell Team blog at:    http://blogs.msdn.com/PowerShell

Visit the Windows PowerShell ScriptCenter at:  http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Saturday, May 12, 2007 11:14 AM by PowerShellTeam

# Windows PowerShell : Free PowerShell Book

Disponibile on line e....GRATUITMENTE, un interessante libro su Powershell. Lo trovate QUI. Buona lettura

Monday, May 28, 2007 10:31 AM by Mighell's blog

# re: Free PowerShell Book

Please send me a hardcopy of powersheel book in case if there is a possibility.

Thanks,

Martin

Wednesday, May 30, 2007 5:48 PM by Martin Mansoor

# re: Free PowerShell Book

Please send a copy of the powershell book if possible.

Regards,

Russ

Monday, October 01, 2007 2:30 PM by Russ Moss

# re: Free PowerShell Book

I want this book to develop a project in power shell.

Thursday, December 06, 2007 1:43 AM by Ravi

# Windows Power Shell

<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><STRONG>Sometimes it is not enough just to be able to fix it using a GUI—Let’s Script it!</STRONG></P> ...

Wednesday, January 23, 2008 1:20 AM by Technoflood

# Frank's At It Again: Another Free PowerShell Book

Frank Koch is an Infrastructure Architect in the Technet team in Switzerland.  In THIS blog entry,

Thursday, February 28, 2008 8:57 AM by Windows PowerShell

# re: Free PowerShell Book

Hi,we need to learn Powershell ASAP. Can you please send one to me.

Wednesday, March 12, 2008 6:19 PM by James Burnett

# Знакомимся с PowerShell – новой командной оболочкой

По сравнению с UNIX, Windows-системы не обладают разнообразием языков сценариев, поэтому появление PowerShell

Saturday, May 24, 2008 8:54 AM by Русская версия

# re: Free PowerShell Book

Appears the link is broken for download... any possible redirection?  Thank you!

Thursday, December 04, 2008 2:15 PM by Fredrick Cote, MCSE

# re: Free PowerShell Book

Don't know if this was ever resolved, but following link works and includes the latest powershell booklet on server administration from Frank Koch.

http://download.microsoft.com/download/4/7/1/47104ec6-410d-4492-890b-2a34900c9df2/Workshops-EN.zip

karl

Friday, December 05, 2008 1:00 PM by Karl Snooks

# re: Free PowerShell Book

This download site for the English version of the powershell book is utterly unhelpful - try to match the performance and user-friendliness of the following URL:

http://blogs.technet.com/mcs-ireland-infrastructure/archive/2008/03/01/free-windows-powershell-workshops.aspx

Thursday, April 16, 2009 10:18 PM by Chitta Mylvaganam

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker