WIN213 - Introduction to Scripting and PowerShell

Outline info
Last revision date 2018-07-20 12:01:55.105
Last review date 2018-07-20 12:02:11.045

Subject Title
Introduction to Scripting and PowerShell

Subject Description
PowerShell is Microsoft's task automation framework, for the administration of Windows servers, clients, and networks. PowerShell enables a wide range of tasks, including software and hardware installation and configuration, and user account creation and management. Upon successful completion of this subject, students will be proficient with the PowerShell command environment, and will be able to write and maintain scripts that combine sequential, iterative, conditional, and repetitive statements, to support the automation of basic system and user administration.

Credit Status
1 credit in the CNS and CTY programs.

Learning Outcomes
Upon successful completion of this subject the student will be able to:

  • Configure Windows PowerShell console and development environment
  • Understand PowerShell technology
  • Demonstrate a working knowledge of the Interactive Command Line Shell
  • Understand PowerShell script creation and maintenance
  • Demonstrate a working knowledge of  sequential, iterative and conditional statements
  • Demonstrate an understanding of basic objects, including cmdlets, data types, and variables
  • Demonstrate how to use a Pipeline to modify objects
  • Implement flow control within scripts to help modularize complex scripts
  • Identify and implement  PowerShell security
  • Create and manage log files
  • Automate basic tasks used by Windows administrators to manage Windows networks

Cheating and Plagiarism
Each student should be aware of the College's policy regarding Cheating and Plagiarism. Seneca's Academic Policy will be strictly enforced.

To support academic honesty at Seneca College, all work submitted by students may be reviewed for authenticity and originality, utilizing software tools and third party services. Please visit the Academic Honesty site on for further information regarding cheating and plagiarism policies and procedures.

All students and employees have the right to study and work in an environment that is free from discrimination and/or harassment. Language or activities that defeat this objective violate the College Policy on Discrimination/Harassment and shall not be tolerated. Information and assistance are available from the Student Conduct Office at

Accommodation for Students with Disabilities
The College will provide reasonable accommodation to students with disabilities in order to promote academic success. If you require accommodation, contact the Counselling and Disabilities Services Office at ext. 22900 to initiate the process for documenting, assessing and implementing your individual accommodation needs.

IOS110 and ULI101

Topic Outline

PowerShell Basics 10%

  • Confirm version
  • Using command HELP
  • Setting up the Integrated Scripting Environment
  • Working with Profiles
  • Setting Execution Policy
  • Tab expansion

Overview of Objects 15%

  • Working with cmdlets
  • Variables and data types
  • Comparison and arithmetic operators
  • Accessing object methods and properties
  • Passing Parameters

Scripting Control Structures 30%

  • Using sequential, iteration and conditional structures to solve problems
  • Writing and Organizing PowerShell scripts
  • Documentation of PowerShell scripts with comments
  • Basic Debugging of Scripts
  • Understanding script blocks and scope
    • Making Decisions in PowerShell Scripts
      • Using if and if else
      • Using Switch
    • Looping through Collections
    • Using While Loops
    • Using For Loops
    • Using ForEach Loops
    • Using Nested Loops
    • Using break and continue to modify loops

Managing Processes and Formatting PowerShell Output 25%

  • Connecting the pipeline
  • Filtering and Iterating through the Pipeline
  •  Reordering and Sorting objects through the Pipeline
  • Formatting Date and Time
  • Working with strings
  • Using Here-Strings
  • Using Hash Tables
  • Using Arrays
  • Writing a Function
  • Basic error handling and entrapment

Windows Administration with PowerShell 20%

  • Using WMI/CIM to retrieve system data
  • Working with Log Files
  • User and system management
  • Introduction to Remote Administration


Mode of Instruction
3 hours activity-based learning in a computer lab room per week

Prescribed Texts

Learn Windows Powershell 3 in a Month of Lunches, Don Jones, Jeffery D. Hicks, Manning Publications Co., ISBN# 9781617291081

Reference Material
Teacher Prepared Handouts on a Variety of Topics as required

Required Supplies
Virtual Machines (Windows Server 2008 R2)  will be supplied to students

Promotion Policy

Grading Policy
A+ 90%  to  100%
A 80%  to  89%
B+ 75%  to  79%
B 70%  to  74%
C+ 65%  to  69%
C 60%  to  64%
D+ 55%  to  59%
D 50%  to  54%
F 0%    to  49% (Not a Pass)
EXC Excellent
SAT Satisfactory
UNSAT Unsatisfactory

For further information, see a copy of the Academic Policy, available online ( or at Seneca's Registrar's Offices.

Modes of Evaluation

Labs 20%
Assignments ( minu\imum of 2) 20%
Weekly Quizes 10%
Tests (2) 20%
Final Exam 30%

Approved by: Denis Gravelle