Naslovnica

AZ-040: Automating Administration with PowerShell

Classroom

Microsoft-365

Online

Server-Administration

Microsoft

DevOps

Tijekom treninga polaznici će usvojiti temeljne vještine i znanja korištenja PowerShella za administriranje i automatizaciju zadataka na Windows poslužitelju te za prepoznavanje i provedbu naredbe koja im je potrebna za izvođenje određenog zadatka. Osim toga, polaznici će naučiti izraditi skripte potrebne za provedbu naprednih zadataka u cilju njihove automatizacije.

Kroz ovaj trening polaznik će usvojiti vještine primjenjive na brojnim Microsoftovim proizvodima, uključujući Windows Server, Windows Client, Microsoft Azure i Microsoft 365. Trening se neće fokusirati niti na jedan od navedenih sustava, ali Windows Server će poslužit kao primjer i podloga za usvajanje opisanih tehnika.

Što ćete naučiti

  • Opisati funkcionalnosti Windows PowerShella i koristiti ga za pronalaženje i pokretanje osnovnih naredbi.
  • Identificirati i pokrenuti naredbe za lokalnu administraciju sustava.
  • Raditi s Windows PowerShell Pipelineom.
  • Koristiti PSProviderse i PSDrivese za rad s drugim oblicima pohrane.
  • Ispitivati informacije o sustavu koristeći WMI i CIM.
  • Raditi s varijablama, nizovima i hash
  • Izraditi osnovne skripte u Windows PowerShellu.
  • Upravljati računalima s udaljenje lokacije pomoću Windows PowerShella.
  • Upravljati Azure resursima pomoću PowerShella.
  • Upravljati Microsoft 365 uslugama pomoću PowerShella.
  • Koristiti pozadinske (engl. background) poslove i zakazane (engl. scheduled) poslove.

Kome je namijenjeno

IT profesionalcima s iskustvom u radu s Windows Serverom, Windows klijentom, Azureom i Microsoft 365 koji žele naučiti više o korištenju Windows PowerShella za administraciju i automatizaciju. Ovaj trening je također prikladan za IT profesionalce koji već imaju iskustva u administraciji poslužitelja, uključujući Microsoft Exchange Server, Microsoft SharePoint Server i Microsoft SQL Server. Ne očekuje se nikakvo prethodno iskustvo u radu s PowerShellom ili bilo kojim skriptnim jezikom.

Preduvjeti

  • Iskustvo s Windows mrežnim tehnologijama i implementacijom.
  • Iskustvo s Windows Server administracijom, održavanjem i rješavanjem problema.

Nastavni plan

Pregledaj
Module 1: Getting started with Windows PowerShell This module will introduce you to Windows PowerShell and provide an overview of the product’s functionality. The module explains how to open and configure  Windows PowerShell. It also explains how to run commands and use the built-in Help system in Windows PowerShell. After completing this module, students will be able to:
  • Describe key features of Windows PowerShell, and open and configure it
  • Discover, learn, and run Windows PowerShell commands
  • Find Windows PowerShell commands for performing specific tasks
Module 2: Windows PowerShell for local systems administration This module introduces you to the different types of cmdlets commonly used for system administration. While you can search for cmdlets each time you need to accomplish a task, it is more efficient to have at least a basic understanding of these cmdlets. This module also explains how to manage Windows 10 by using PowerShell. After completing this module, students will be able to:
  • Identify and use cmdlets for AD DS administration
  • Identify and use cmdlets for network configuration
  • Identify and use cmdlets for server administration tasks
  • Manage Windows 10 using PowerShell
Module 3: Working with the Windows PowerShell pipeline This module introduces the pipeline feature of Windows PowerShell. The pipeline feature is included in several command-line shells such as the command prompt in the Windows operating system. However, the pipeline feature in Windows PowerShell provides more complex, flexible, and capable functionalities compared to other shells. This module provides you with the skills and knowledge that will help you use Windows PowerShell more effectively and efficiently. After completing this module, students will be able to:
  • Describe the purpose of the Windows PowerShell pipeline
  • Select, sort, and measure objects in the pipeline
  • Filter objects out of the pipeline
  • Enumerate objects in the pipeline
  • Send output consisting of pipeline data
Module 4: Using PSProviders and PSDrives This module introduces the PSProviders and PSDrives adapters. A PSProvider is basically a Windows PowerShell adapter makes some form of storage resemble a hard drive. A PSDrive is an actual connection to a form of storage. You can use these two technologies to work with various forms of storage by using the same commands and techniques that you use to manage the file system. After completing this module, students will be able to:
  • Use PSProviders
  • Use PSDrives
Module 5: Querying management information by using CIM and WMI This module introduces you to two parallel technologies: Windows Management Instrumentation (WMI) and Common Information Model (CIM). Both these technologies provide local and remote access to a repository of management information including access to robust information available from the operating system, computer hardware, and installed software. After completing this module, students will be able to:
  • Differentiate between CIM and WMI
  • Query management information by using CIM and WMI
  • Invoke methods by using CIM and WMI
Module 6: Working with variables, arrays, and hash tables Variables are an essential component of scripts. You can use variables to accomplish complex tasks that you can't complete by using a single command. This module explains how to work with variables, arrays, and hash tables as steps in learning how to create Windows PowerShell scripts. After completing this module, students will be able to:
  • Assign a value to variables
  • Describe how to manipulate variables
  • Describe how to manipulate arrays and hash tables
Module 7: Windows PowerShell scripting This module explains how to package a Windows PowerShell command in a script. Scripts allow you to perform repetitive tasks and more complex tasks than cannot be accomplished in a single command. After completing this module, students will be able to:
  • Run a Windows PowerShell script
  • Use Windows PowerShell scripting constructs
  • Import data from a file
  • Accept user input for a script
  • Implement error handling for a script
  • Explain functions and modules
Module 8: Administering remote computers with Windows PowerShell This module introduces you to the Windows PowerShell remoting technology that enables you to connect to one or more remote computers and instruct them to run commands on your behalf. After completing this module, students will be able to:
  • Describe remoting architecture and security
  • Use advanced Windows PowerShell remoting techniques
  • Create and manage persistent remoting sessions
Module 9: Managing Azure resources with PowerShell This module provides information about installing the necessary modules for cloud services management. It explains how to use PowerShell commands to perform some simple administrative tasks on cloud resources such as Azure virtual machines (VMs), Azure storage accounts, and Azure subscriptions. This module also describes how to use the Azure Cloud Shell environment to perform PowerShell-based or Bash-based administration directly from the Azure portal. After completing this module, students will be able to:
  • Describe, install, and use the Azure PowerShell environment
  • Describe and use Azure Cloud Shell
  • Manage Azure VMs with PowerShell
  • Manage Azure storage accounts and subscriptions with Azure PowerShell
Module 10: Managing Microsoft 365 services with PowerShell This module describes how to use PowerShell to manage Microsoft 365 user accounts, licenses, and groups, Exchange Online, SharePoint Online, and Microsoft Teams. After completing this module, students will be able to:
  • Use PowerShell to manage users, groups, and licenses in Azure AD
  • Manage Exchange Online with PowerShell
  • Manage SharePoint Online with PowerShell
  • Manage Microsoft Teams with PowerShell
Module 11: Using background jobs and scheduled jobs This module describes how to use background jobs and scheduled jobs. It also explains how to create scheduled jobs and retrieve job results. After completing this module, students will be able to:
  • Create and manage background jobs
  • Create and manage scheduled jobs