Windows Server 2008 PowerShell

Embed Size (px)

Citation preview

  • 8/14/2019 Windows Server 2008 PowerShell

    1/4

    Course Outline

    For more information about any of our training courses, contact our Learning Consultants

    on 1300 86 87246 or email us on [email protected]

    Visit us on the web at www.advancedtraining.com.au

    1300 86 87246

    1300 TO TRAIN

    Course Outline 6434AVersion 2.0 Ma 2012

    6434 - Automating Windows Server2008 Administration with WindowsPowerShell

    General DescriptionThis three-day instructor-led course provides students with the knowledge andskills to utilize Windows PowerShell for administering and automatingadministration of Windows Server 2008. The course focuses on cmdlets, scriptstructure and flow control, language syntax, and implementation details of

    scripting administrative tasks using COM, WMI, and .NET foundations.

    OutcomesAt the end of the course, students will be able to: Install and launch Windows PowerShell Work with basic objects in Windows PowerShell, including using cmdlets,

    data types, variables, and fundamental object-based information models Implement sequences of operations by putting them together into a

    pipeline Control the formatting of the resultant set of objects that are emitted at the

    end of a pipeline Implement sequences of operations by putting them together into a script Implement flow control within scripts and define functions and filters to

    help modularize complex scripts Manipulate files and registry values Manage disk storage volumes, shadow copies, shared folders, Terminal

    Services and IIS properties using WMI in Windows PowerShell Administer and maintain Active Directory directory services and IIS 7.0

    Web sites using Windows PowerShell Maintain Group Policy using Windows PowerShell

    Course DetailsCourse code: 6434Duration: 3daysStarting time: 9amFinishing time: 4.30pmLunch and refreshments are provided.

    Booking guidelinesContact our learning consultants on 1300 86 87246 and we will assist you withyour booking. Enter pre-requisites

  • 8/14/2019 Windows Server 2008 PowerShell

    2/4

    Course Outline

    For more information about any of our training courses, contact our Learning Consultants

    on 1300 86 87246 or email us on [email protected]

    Visit us on the web at www.advancedtraining.com.au

    Module 1: Introduction toMicrosoft Windows

    PowerShellThis module explains how to checkyour system for prerequisites forWindows PowerShell, use ServerManager to install WindowsPowerShell architecture, confirminstallation, and use WindowsPowerShell commands to customizethe Windows PowerShellenvironment.

    Lessons Introduction to Windows

    PowerShell

    Installing Windows PowerShellin Windows Server 2008

    Lab: Implementing WindowsPowerShell Installing Windows PowerShell Customizing Windows

    PowerShellAfter completing this module,students will be able to: Describe the architecture,

    platforms, and prerequisites ofthe Windows PowerShellenvironment

    Install Windows PowerShellusing the Windows Server 2008Server Manager

    Module 2: Overview ofMicrosoft WindowsPowerShellThis module explains basic conceptsin Windows PowerShell, includingobjects, variables, cmdlets, andpipelines. It describes how to invokeavailable cmdlets and aliases, assignaliases. The module also includesdemonstrations of tab expansion andbasic operators.

    Lessons Overview of Objects Working with Cmdlets Tab Expansion, Aliases, and

    History Using Variables and Types

    Lab: Working with WindowsPowerShell Cmdlets, Aliases,Objects, and Variables Learning Cmdlets and Defining

    Aliases Holding the Output of a Cmdlet

    After completing this module,students will be able to:

    Explain the fundamentalrelationship between informationand operations that are bundledtogether into various classes ofobjects

    Use the Windows PowerShellcmdlets Get-Command and Get-Help to obtain information aboutother cmdlets and theirparameters.

    Use tab expansion, aliases, andhistory in Windows PowerShellto get more done with less typing

    Perform basic numeric and stringoperations using WindowsPowerShell, including holdingtemporary values in variables

    Module 3: Building Pipelinesfor Assembly-Line StyleProcessingThis module explains how to use apipeline to connect the output of onecmdlet to the input of another,reorder objects, and filter objectsbased on specific properties. Arraysand their uses are also discussed.

    Lessons Using Pipelines Using Arrays Filtering and Iterating Through

    the Pipeline Reordering Objects in a Pipeline

    Lab: Implementing Pipelines inWindows PowerShell Evaluating Process Properties

    Using the Get-Member Cmdlet Calculating Process Memory

    Usage Using Associative Array

    Variables Sorting and Selecting Elements

    from a Resultant Set of DataAfter completing this module,students will be able to: Connect the output of one cmdlet

    to the input of another cmdlet asa method of building sequencesof processing relationshipstoward a goal

    Define arrays of data and holdcmdlet and pipeline results in anarray

    Filter objects that are flowingthrough a pipeline by using

    cmdlets such as Where-Object Reorder objects and choose

    specific properties to filter objectsthat are coming down a pipelineby using the Sort-Object cmdletand Select-Object cmdlets

    Module 4: ManagingProcesses and FormattingCmdlet OutputThis module explains how to choosea format in which to present datathat is appropriate to the data set,

    format specific process properties,such as memory usage or CPU time,and use custom formatting. It alsodescribes how you can view, start,and stop processes and services.

    Lessons Managing Windows Processes

    with Microsoft WindowsPowerShell

    Formatting Cmdlet Output

    Lab : Output Formatting andProcess Control with WindowsPowerShell

    Implementing Basic FormattingControl Formatting with the -f Operator Implementing Advanced

    FormattingAfter completing this module,students will be able to: Monitor and control services and

    processes running on Windowsoperating systems

    Present information with specificformatting through the use offormatting operators and cmdlets

    Module 5: Introduction toScripting with MicrosoftWindows PowerShellThis module explains how to writeand modify scripts to perform asequence of cmdlets. Security andworking with credentials are alsodiscussed.

    Lessons Writing Windows PowerShell

    Scripts Script Parameters Security in Windows PowerShell

  • 8/14/2019 Windows Server 2008 PowerShell

    3/4

    Course Outline

    For more information about any of our training courses, contact our Learning Consultants

    on 1300 86 87246 or email us on [email protected]

    Visit us on the web at www.advancedtraining.com.au

    Customizing WindowsPowerShell with Profiles

    Lab: Implementing Scripts inWindows PowerShell Writing and Running a Script Customizing ProfilesAfter completing this module,students will be able to: Design, write, and test sequences

    of operations and cmdlets usingsequences, variables, andpipelines

    Use parameters to passadditional data to a script in astructured way

    Establish security with adequateexecution policy and scriptsigning

    Customize profile files anddescribe the scope of profile files

    Module 6: ImplementingFlow Control and Functions

    This module explains how tomove scripts into functions andadd functions to profiles. Flow ofexecution based on a commoninput, iterating in general and

    iterating through an array orcollection are also discussed.

    Lessons Controlling the Flow of

    Execution Within Scripts Iteration Flow Control Developing and Using Functions

    Lab : Implementing Functionsand Flow Control in WindowsPowerShell Adding Flow Control in a Script Creating FunctionsAfter completing this module,students will be able to: Use Windows PowerShell flow

    control language features toimplement choices in scripts

    Use Windows PowerShell flowcontrol language features toimplement repetition in scripts

    Define functions to encapsulate asequence of operations

    Module 7: Working withFiles, the Registry, and

    Certificate StoresThis module explains how to writescripts that perform specific tasks,such as searching files for particulartext and modifying all matchingfiles, or searching the event logs forevents that match specific criteria. Italso describes how to access datastores, the file store, the registry,certificate stores, and other stores,use wildcards and regularexpressions, and import and exportaliases and objects.

    Lessons Using Data Stores Using Providers Filtering and Selecting with

    Regular Expressions Implementing Event Log

    Management Persisting Objects in Files

    Lab: Working with Files, theRegistry, and CertificateStores Searching for Certain Files Modifying Registry Entries

    Generating Reports Generating Reports on the

    Security Log Comparing FilesAfter completing this module,students will be able to: Use providers and cmdlets to

    access folders and files Use providers and cmdlets to

    access registry keys and values,and public key certificate storesand certificates

    Filter the set of files, values, orcertificates with which to work,based on patterns in theirattributes or content

    Implement filtering techniqueswhen using the Get-EventLogcmdlet

    Move aliases and objects fromWindows PowerShell memory(that is, RAM) in and out of files

    Module 8: Managing theWindows Operating System

    Using Microsoft WindowsPowerShell and WMIThis module explains how to useWMI to access system features,enumerate, defragment, and mountdisk volumes in WindowsPowerShell. Listing and configuringvolume shadow copies, listing andcreating shared folders with WMI,and configuring Terminal Servicesand IIS properties are also discussed.

    Lessons Introduction to WMI and WMI

    Objects Managing Disks and Disk

    Volumes Using WindowsPowerShell with WMI

    Managing Shadow Copies UsingWindows PowerShell with WMI

    Managing Shared Folders withWindows PowerShell

    Managing Terminal Services withWMI

    Managing IIS 7.0 with WMI

    Lab: Managing the WindowsOperating System with

    Windows PowerShell and WMI Using WMI Classes in Windows

    PowerShell Using WMI Type Accelerators Managing Disk Volumes in

    Windows PowerShell Defragmenting Disk Volumes

    Using Windows PowerShell Managing IIS 7.0 Properties

    Using WMIAfter completing this module,students will be able to: Use Get-WMIObject to retrieve

    WMI data from a local or remotesystem

    Perform some commonadministrative tasks usingWindows PowerShell and WMI

    Manage volume shadow copiesusing Windows PowerShell

    Manage shared folders usingWindows PowerShell

    Configure Terminal Services viaWMI in Windows PowerShell

    Administer IIS 7.0 with WindowsPowerShell

  • 8/14/2019 Windows Server 2008 PowerShell

    4/4

    Course Outline

    For more information about any of our training courses, contact our Learning Consultants

    on 1300 86 87246 or email us on [email protected]

    Visit us on the web at www.advancedtraining.com.au

    Module 9: AdministeringActive Directory with

    Microsoft WindowsPowerShellThis module explains how to writescripts to perform Active Directoryadministration tasks such aschanging the domain functionallevel, moving FSMO roles, andcreating and modifying objects suchas groups and user accounts.Managing relationships betweenuser accounts and groups is alsodemonstrated.

    Lessons

    Administering Domains andForests Using .NET Objects

    Managing User Accounts andGroups Using ADSI

    Managing Relationships BetweenUsers and Groups

    Web Administration Using IIS 7.0

    Lab: Administering ActiveDirectory with WindowsPowerShell Managing Active Directory

    Domain and Forest Properties Maintaining Active Directory

    with ADSI Maintaining Relationships in

    Active Directory with ADSI Managing IIS 7.0 with the .NET

    Web.Administration.ServerManager Class

    After completing this module,students will be able to: Administer Active Directory

    domain and forest roles andfunctionality using WindowsPowerShell with .NET objects

    Manage Active Directory-baseduser accounts and groups usingthe ADSI in WindowsPowerShell

    Manage relationships betweenuser accounts and groups inActive Directory

    Administer IIS 7.0 with WindowsPowerShell

    Module 10: AdministeringGroup Policy in Microsoft

    Windows PowerShell UsingCOMThis module explains how to writescripts to perform Active Directoryadministration tasks such aschanging the domain functionallevel, moving FSMO roles, andcreating and modifying objects suchas groups and user accounts.Managing relationships betweenuser accounts and groups is alsodemonstrated.

    Lessons

    Managing GPOs Using theGPMC COM Interface

    Managing Group Policy Objects Reporting Group Policy

    Lab: Administering GroupPolicy in Microsoft WindowsPowerShell Retrieving a GPO by Using a

    COM Object Copying Group Policy Settings Backing Up and Restoring a GPO Generating Group Policy ReportsAfter completing this module,

    students will be able to: Manage GPOs in an Active

    Directory environment usingWindows PowerShell

    Search, back up, and restoreGroup Policy Objects (GPOs)using Windows PowerShell

    Generate reports of Group Policyin Windows PowerShell