Advanced Automated Administration with Windows PowerShell

Den här kursen lär dig hur du automatiserar och effektiviserar ditt dagliga managerings- och administrationsarbete och funktioner i din Windows Server-infrastruktur.

Vi går igenom hur man bygger skalbara och användbara Windows PowerShell-skript som kommer att kunna utnyttjas i din organisation för att bygga egna PowerShell-verktyg.

Lär dig om områden såsom att skapa avancerade funktioner, skriptmoduler, avancerade parameterattribut och "controller scripts". Lär dig också hur du gör dina script mer robusta genom att lära dig felhantering och felsökning. I kursen lär vi oss också hur man med hjälp av PowerShell Cmdlets kan använda sig av .NET framework samt hur du kan använda Desired State Configuration för att konfigurera dina Windows Servrar och hur Windows PowerShell workflow fungerar. 

Kursen baseras på Windows Server 2012 R2, Windows 8.1 och PowerShell 4, men är även relevant för arbetsmiljöer med PowerShell 2 och 3. 

Förkunskaper

  • Erfarenhet av att ha arbetat med PowerShell motsvarande kunskapen i kurs 10961: Automating Administration with Windows PowerShell.
  • Allmän erfarenhet av Windows Server- och Windows Klientadministration eller erfarenhet av administration och support av applikations-servers och tjänster som Exchange, SharePoint och SQL.

 

Ämnesområden (Engelska)

Creating Advanced Functions

In this module students will learn how to parameterize a command into an advanced function. It is designed to teach several key principles in a single logical sequence, by using frequent hands-on exercises to reinforce new skills.

  • Converting a Command into an Advanced Function
  • Creating a Script Module
  • Defining Parameter Attributes and Input Validation
  • Writing Functions that use Multiple Objects
  • Writing Functions that Accept Pipeline Input
  • Producing Complex Function Output
  • Documenting Functions by using Content-Based Help
  • Supporting -Whatif and -Confirm

 

Using Cmdlets and Microsoft .NET Framework in Windows PowerShell

Windows PowerShell provides commands that accomplish many of the tasks that you will need in a production environment. Sometimes, a command is not available but the .NET Framework provides an alternate means of accomplishing a task. Because Windows PowerShell is built on the .NET Framework, it is able to access those alternate means. In this module, you will learn how to discover and run Windows PowerShell commands, and how to use .NET Framework components from inside Windows PowerShell. These two techniques will provide you with the most flexibility and capability for accomplishing tasks in a production environment.

  • Running Windows PowerShell Commands
  • Using Microsoft .NET Framework in Windows PowerShell

 

Writing Controller Scripts

In this module, students will learn how to combine tools – advanced functions that perform a specific task – and a controller script that provides a user interface or automates a business process.

  • Understanding Controller Scripts
  • Writing Controller Scripts that Show a User Interface

 

Handling Script Errors

In this module, students will learn how to perform basic error handling in scripts. The focus will be about how to add error handling to existing tools, primarily as a time-saving mechanism (instead of having students write new tools). A side benefit of this approach is that it will help build the skills that you must have to analyze and reuse existing code written by someone else.

  • Understanding Error Handling
  • Handling Errors in a Script

 

Using XML Data Files

In this module, students will learn how to read, manipulate, and write data in XML files. XML files provide a robust, yet straightforward way to store both flat and hierarchical data. XML files are more flexible than CSV, more accessible for small amounts of data than SQL Server, and easier to code against that Excel automation.

  • Reading, Manipulating and Writing Data in XML

 

Managing Server Configurations by Using Desired State Configuration

In this module, students will learn how to write Desired State Configuration (DSC) configuration files, deploy those files to servers, and monitor servers’ configurations.

  • Understanding Desired State Configuration
  • Creating and Deploying a DSC Configuration

 

Analyzing and Debugging Scripts

In this module, students will learn how to use native Windows PowerShell features to analyze and debug existing scripts. These skills are also useful when students have to debug their own scripts.

  • Debugging in Windows PowerShell
  • Analyzing and Debugging and Existing Script

 

Understanding Windows PowerShell Workflow

In this module, students will learn about the features of the Windows PowerShell Workflow technology.

  • Understanding Windows PowerShell Workflow

 

Boka kursen

Boka din plats redan idag.

Om kursen

Pris: 23 950,00 kr

exklusive moms

Längd 3 dagar
Kurskod M10962

Software AssuranceSA-voucher gäller på denna kurs
KompetenskortKompetenskort gäller på denna kurs 

Boka kursen

Välj ort och kursstart

lc LiveClass innebär att kursen hålls som en lärarledd interaktiv onlineutbildning.

15 mars

27 mars

3 maj

22 maj

Kunduppgifter