Henter data ...

Automating Administration with Windows PowerShell. Azure PowerShell. CMD. Course AZ-040T00.

Kort navn:

Varighed:


RING 70 23 26 50 eller send en mail og få uforpligtende informationer om, hvor kurset udbydes, datoer, priser og en status på, om kurset har deltagere nok til at det bliver gennemført.

Udbydes kurset ikke i oversigten til højre, så kontakt os endelig for ny dato.


Lær at bruge PowerShell til fjernstyring klienter og servere samt automatisering af administrative opgaver. Kurset giver dig de nødvendige færdigheder, så du kan skrive robuste scripts og anvende hjælpesystemet

   

   

    


Beskrivelse

Måske har du snust til PowerShell og kørt nogle scripts du har fundet på nettet, men nu vil du gerne videre med sproget og lære at stå på egne ben.

  • Hvad er PowerShell, hvad kan jeg bruge det til, og hvordan kommer jeg ordentligt i gang?

  • Hvad er forskellen på Windows PowerShell og PowerShell 7?

  • Hvilke cmdlets og moduler skal jeg anvende og hvordan?

  • Hvordan anvender jeg PowerShell til Azure, Azure AD og Microsoft 365?

  • Hvordan anvendes remoting bedst?


Disse spørgsmål og meget mere får du svaret på i dette kursus i PowerShell.


Kurset er begrebsfokuseret med vægten lagt på syntaksen og tankegangen i PowerShell, og via konkrete kodeeksempler demonstrerer vi teorien. Hvert modul har tilhørende opgaver, så du får hands-on erfaring, og prøver de ting af du har lært.


Vi anvender konsollen til ad hoc scripting og ISE/Visual Studio Code som editor til længere scripts. Desuden arbejder vi med variable og funktioner, og vi ser hvordan man kan lave sit eget modul.


Alle Microsoft platforme kan i korte træk styres og administreres i Windows PowerShell. Derfor er scriptsproget bredt anvendt både inden for Azure og on-premise.


På kurset går vi i dybden med PSDrives, der anvendes mange steder til at udstille objekter, som man nemt kan navigere i. On-premise giver det f.eks. adgang til Windows Registry og IIS - i skyen findes alle Azure ressourcer i et PSDrive.


Du introduceres derudover til PowerShells CIM cmdlets, som er en erstatning af de gamle WMI-forespørgsler og er nyttige til at indhente systeminformation og konfigurere indstillinger, som ikke er tilgængelige direkte via PowerShell.


Vi bruger også meget tid på Remoting, som er en helt central del af PowerShell til fjernadministration af servere og desktop maskiner. Windows PowerShell anvender winRM, imens PowerShell 7 også tilbyder SSH. Længerevarende scripts kan køres ad hoc som et job, eller de kan knyttes til et baggrundsjob og eksekveres efter en fast tidsplan f.eks. hver nat.


Vi øver os i at oprette og administrere ressourcer, f.eks. en virtuel maskine i Azure der elegant kan oprettes via Az-modulet til PowerShell i cloud shell. Azure AD brugere og grupper er helt centrale for alle Microsoft 365 tjenesterne såsom Teams, SharePoint og Exchange. Microsoft Graph modulet tilbyder en del cmdlets, men man kan stadig have brug for funktionalitet fra de gamle moduler


Tilhørende exam

TMS-040 - Automating Administration with PowerShell

 

Videre forløb

NS0532 PowerShell Avanceret

 

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.

Lessons

Windows PowerShell overview

Understanding Windows PowerShell command syntax

Find commands and getting help in Windows PowerShell

Lab : Configuring the Windows PowerShell console application

Lab : Configuring the Windows PowerShell ISE application

Lab : Finding and running Windows PowerShell commands

Lab : Using Help and About files

 

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 install and start using Windows PowerShell in Windows 10.

Lessons

Active Directory Domain Services administration cmdlets

Network configuration cmdlets

Server administration cmdlets

Windows PowerShell in Windows 10

Lab : Creating a website

Lab : Configuring network settings on Windows Server

Lab : Creating and managing Active Directory objects

 

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.

Lessons

Understand the pipeline

Select, sort, and measure objects

Filter objects out of the pipeline

Enumerate objects in the pipeline

Send and pass pipeline data as output

Pass pipeline objects

Lab : Selecting, sorting, and displaying data

Lab : Filtering objects

Lab : Enumerating objects

Lab : Converting objects

 

Using PSProviders and PSDrives

This module introduces the PSProviders and PSDrives adapters. A PSProvider is basically a Windows PowerShell adapter that makes some form of storage resemble a disk drive. A PSDrive is an actual connection to a form of storage. You can use these two adapters to work with various forms of storage by using the same commands and techniques that you use to manage the file system.

Lessons

Using PSProviders

Using PSDrives

Lab : Create a new Active Directory group

Lab : Creating a registry key for your future scripts

Lab : Creating files and folders on a remote computer

 

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.

Lessons

Understand CIM and WMI

Query data by using CIM and WMI

Make changes by using CIM and WMI

Lab : Querying information by using WMI

Lab : Querying information by using CIM

Lab : Invoking methods

 

Working with variables, arrays, and hash tables

This module provides you the skills and knowledge required to use variables, arrays, and hash tables in Windows PowerShell.

Lessons

Use variables

Manipulate variables

Manipulate arrays and hash tables

Lab : Using hash tables

Lab : Using arrays

Lab : Working with variable types

 

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.

Lessons

Introduction to scripting with Windows PowerShell

Script constructs

Import data from files

Accept user input

Troubleshooting and error handling

Functions and modules

Lab : Signing a script

Lab : Processing an array with a ForEach loop

Lab : Processing items by using If statements

Lab : Creating users based on a CSV file

Lab : Querying disk information from remote computers

Lab : Updating the script to use alternate credentials

 

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.

Lessons

Use basic Windows PowerShell remoting

Use advanced Windows PowerShell remoting techniques

Use PSSessions

Lab : Managing multiple computers

Lab : Using implicit remoting

Lab : Performing one-to-many remoting

Lab : Performing one-to-one remoting

Lab : Enabling remoting on the local computer

 

Managing Azure resources with PowerShell

This module provides information about Azure PowerShell. It also introduces Azure Cloud Shell. It explains how to manage Azure VMs with PowerShell. The module also describes how you can manage storage and Azure subscriptions with Azure PowerShell.

Lessons

Azure PowerShell

Introduce Azure Cloud Shell

Manage Azure VMs with PowerShell

Manage storage and subscriptions

Lab : Installing Azure PowerShell module

Lab : Installing Cloud Shell

Lab : Managing Azure resources with Azure PowerShell

 

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.

Lessons

Manage Microsoft 365 user accounts, licenses, and groups with PowerShell

Manage Exchange Online with PowerShell

Manage SharePoint Online with PowerShell

Manage Microsoft Teams with PowerShell

Lab : Managing Exchange Online resources with Windows PowerShell

Lab : Managing SharePoint Online with Windows PowerShell

Lab : Managing Microsoft 365 user and group objects with Windows PowerShell

Lab : Connecting to Microsoft 365 with Windows PowerShell

 

Using background jobs and scheduled jobs

This module describes how to use background jobs and scheduled jobs. It also explains how to create schedules jobs and retrieve job results.

Lessons

Use background jobs

Use scheduled jobs

Lab : Starting and managing jobs

Lab : Creating a scheduled job

Kursusdatoer