ࡱ> LNK#` bjbj\.\. 74>D>Dg(@@@@@@@T84P<TN,+++++++$8-h/6+@JJJ+@@,J@@+J+U*h@@+ p[.*+,0N,*// +/@+<Z@#4W++XN,JJJJTTT8TTT8TTT@@@@@@ FOOTHILL COLLEGE COMPUTERS, TECHNOLOGY AND INFORMATION SYSTEMS DEGREE APPLICABLE COMPUTER NETWORKS COURSE OUTLINE SUMMER, 2007 AND ELECTRONICS 60K 1. Catalog Description CNET 060K WINDOWS POWERSHELL 4 UNITS SCRIPTING Advisory: Microsoft Windows Server 2003, Microsoft Windows 2003 Active Directory Four hours of lecture, four hours of terminal time. Class may be repeated three times for credit. This course provides students with the knowledge and skills necessary to write and maintain Powershell scripts to automate all aspects of system administration for computers running the Microsoft Windows operating system. In addition to basic Powershell concepts such as Cmdlets, Scripts and Pipelining, this course covers the interfaces built into the Windows operating system (eg. Windows Management Instrumentation - WMI and Active Directory Services Interfaces - ADSI) which scripts must call in order to manipulate the operating system. This course has been designed for system administrators and does not require an extensive background in programming. 2. Expected Outcomes The student will be able to: A. analyze the requirements to solve a particular task B. design a properly constructed process to perform this task C. create a Powershell script to implement this process D. debug and refine this Powershell script E. test and document this Powershell script 3. Special Facilities and/or Equipment Needed When offered on/off campus: Access to a computer with Microsoft Windows XP or Microsoft Windows Server 2003. Lecture room equipped with white/black board, an instructor workstation with Internet connectivity attached to an LCD projector When offered through traditional distance learning: Students must have access to viewing videotape series either at home or in the Media Center on campus. When taught via Foothill Global Access on the Internet: Students must have currently existing e-mail accounts/e-mail address and ongoing access computers with e-mail software, GUI web browsing capability, FTP and telnet client programs, and access to the World Wide Web. 4. Expanded Description of Course Content Introduction to Windows Powershell History of Microsoft Scripting Languages Significance of .NET Windows Operating System Interface (WMI) Active Directory Service Interface (ADSI) Powershell Basics 1. Commands and Cmdlets 2. Aliases 3. How Powershell Parses 4. Statement Termination 5. Pipelining 6. Formatting and Output 7. Third Party Output Tools Working with Types 1. The Concept of Datatypes 2. Strings 3. Numbers 4. Collections - Dictionaries and Hashtables 5. Collections - Arrays and Sequences 6. Type Conversions Operators and Expressions 1. Arithmetic Operators 2. Assignment Operators 3. Comparison Operators 4. Pattern Matching Operators 5. Logical and Bitwise Operators Advanced Operators and Variables 1. Operators for Working with Types 2. Unary Operators 3. Grouping, Subexpressions and Array Subexpressions 4. Array Operators 5. Property and Method Operators 6. The Powershell Format Operator 7. Redirection and the Redirection Operator 8. Variables Flow Control in Scripts 1. The if/elseif/else Statement 2. While Loops 3. Do/While Loops 4. For Loops 5. Foreach Loops 6. The Switch Statement 7. Flow Control using Cmdlets Functions and Scripts 1. Function Basics 2. Formal Parameters 3. Returning Values from Functions 4. Using Functions in a Pipeline 5. Managing Functions Scriptblocks and Objects 1. Scriptblock Basics 2. Building and Manipulating Objects 3. Type System Plumbing 4. Extending the Powershell Language 5. Type Extension 6. Building Code at Runtime Errors, Exceptions and Debugging 1. Error Handling 2. Script Debugging 3. Nested Prompts and Breakpoints 4. Low-Level Tracing 5. The Powershell Event Log Processing Text, Files and XML 1. Processing Unstructured Text 2. File Processing 3. XML Processing .NET and WinForms 1. Using .NET from Powershell 2. Powershell and the Internet 3. Powershell and Graphical User Interfaces Windows Objects: COM and WMI 1. Working with COM in Powershell 2. Working with WMI in Powershell Powershell Security 1. Introduction to Security 2. Security Modeling 3. Securing the Powershell Environment 4. Signing Scripts 5. Writing Secure Scripts 5. Repeatability Criteria Each time the class is repeated, the class will reflect modifications and changes in the underlying technology and new releases of the MS operating system and software. 6. Methods of Evaluation A. Programming projects B. Midterm exam C. Final exam 7. Text(s) Windows Powershell in Action, Manning Publications, First Edition 2006 ISBN: 1932394907 When course is taught on-line: Additional information, notes, handouts, syllabus, assignments, tests, and other relevant course material will be delivered by e-mail and on the World Wide Web, and discussion may be delivered in chat rooms or moderated listservs. 8. Authorized Discipline(s) Computer Information Systems Computer Networks and Electronics Technologies Computer Programming Computer Science     CNET 60K, page  PAGE 2 >Jey ! 7 B  y 1 < w ev{(-EJQV]b,-hIhGZh<>*h<h<>*hPh<>*hzh<>*hh< hqh<Q?@\ " u v t v  ^ gd<$a$gd ^`gd<gd<1$@&gd<$ 1$@&^a$gd< 1$@&^gd< $1$@&a$gd<g $ ] r;ew gd< & Fgd< & F 8^8gd< & F gd< & Fgd<gd<)FR^-Ln4W & FgdG9 & Fgd< gd<-n34 &'[`ot;@TYz=>CY\ ahltghjkmnpqjh<U h_M_>*h<h<>*h#h<OJQJhGZh<>*h_M_h<hG9h05O'F\p<U{ gd_M_ h^hgd_M_ & Fgd_M_ gd< & Fgd< gd<-Ji5Sw ">@\ ^ gd<gd< gd<h^hgd_M_ & Fgd_M_ gd_M_"<M\^l 9N`bcgijlmoprs ^ gd<gd<qz{hZ)0JmHnHu h<0Jjh<0JUh2h< gd<5 01h:p</ =!"#$% @@@ NormalCJ_HaJmH sH tH DA@D Default Paragraph FontRi@R  Table Normal4 l4a (k@(No List4@4 >NHeader  !4 @4 >NFooter  !.)@. >N Page Number4?@\"uvtv$]r ; e w  ) F R ^  - L n  4 W  ' F \ p <U{-Ji5Sw ">@\"<M\^l 9N`bcgijlmoprs0000000000000000000000000 0 0 0000 0 0 0 0 0 00000000 0000000 000000 000000000 00000000 000000 0000000 000000 0 000 0 000 0 00 0 000000000000000000000000000@0h00@0h00@0h00@0h00@0@0h00  4 j00Rj00j000j00j00 '''''*-q "$*!8@0(  B S  ?$˒ Fk %˒ '&˒ <&'˒ ,&(˒ |w )˒ & ZZ`_ff=*urn:schemas-microsoft-com:office:smarttags PlaceType=*urn:schemas-microsoft-com:office:smarttags PlaceName9*urn:schemas-microsoft-com:office:smarttagsplace 6?7AWY1;we o < E < F  > E gq5? lvt~ggiijjlmoprsv[af ggiijjlmoprs333333, m fggiijjlmoprsz{ggiijjlmoprsFa!*_b3(IkmRedYsfR^`o(. UU^U`hH. %L%^%`LhH.   ^ `hH.   ^ `hH. L^`LhH. ee^e`hH. 55^5`hH. L^`LhH.^`o(. XX^X`hH. (L(^(`LhH.   ^ `hH.   ^ `hH. L^`LhH. hh^h`hH. 88^8`hH. L^`LhH.h ^`o(hH. ^`hH. pLp^p`LhH. @ @ ^@ `hH. ^`hH. L^`LhH. ^`hH. ^`hH. PLP^P`LhH.h ^`hH.h ^`hH.h pLp^p`LhH.h @ @ ^@ `hH.h ^`hH.h L^`LhH.h ^`hH.h ^`hH.h PLP^P`LhH.h ^`hH.h ^`hH.h  L ^ `LhH.h ` ` ^` `hH.h 00^0`hH.h L^`LhH.h ^`hH.h ^`hH.h pLp^p`LhH.kmRIFa!*dYs_b3`2        /                                    Z)G9_M_P4{05I2<@--@--`@UnknownGz Times New Roman5Symbol3& Arial3z Times"1 h(Uf.  \ % \ %&4d]] 2qHP?z2CalCal      Oh+'0P    $08@HCal Normal.dotCal9Microsoft Office Word@Q@P1t@I [ \՜.+,0 hp  Microsoft Corporation% ]  Title  !"$%&'()*+,-./0123456789:<=>?@ABDEFGHIJMRoot Entry FМ [OData 1Table#/WordDocument74SummaryInformation(;DocumentSummaryInformation8CCompObjq  FMicrosoft Office Word Document MSWordDocWord.Document.89q