Microsoft
Microsoft Logo

Create and modify scripts by using Windows PowerShell 

  • Offered byMicrosoft

Create and modify scripts by using Windows PowerShell
 at 
Microsoft 
Overview

Duration

3 hours

Start from

Start Now

Total fee

Free

Mode of learning

Online

Schedule type

Self paced

Difficulty level

Intermediate

Official Website

Explore Free Course External Link Icon

Credential

Certificate

Details Icon

Create and modify scripts by using Windows PowerShell
 at 
Microsoft 
Course details

Skills you will learn
What are the course deliverables?
  • Create and run scripts by using Windows PowerShell
  • Work with scripting constructs in Windows PowerShell
  • Import data in different formats for use in scripts by using Windows PowerShell cmdlets
  • Use methods to accept user inputs in Windows PowerShell scripts
  • Troubleshoot scripts and handle errors in Windows PowerShell
  • Use functions and modules in Windows PowerShell scripts
More about this course
  • This learning path explains how to create and modify scripts. It covers useful scripting techniques that include importing data from a file, accepting user input, and error handling
  • This course explains how to use scripting constructs for iteration and decision making in Windows PowerShell
  • This course explains how to import data from a text file, CSV file, XML file, and JavaScript Object Notation (JSON) file
  • This method explains multiple methods for accepting user input in a Windows PowerShell script
  • This course covers how to create modules and functions in Windows PowerShell scripts

Create and modify scripts by using Windows PowerShell
 at 
Microsoft 
Curriculum

Create and run scripts by using Windows PowerShell

Introduction

Review Windows PowerShell scripts

Modify scripts in the PowerShell Gallery

Create scripts using Windows PowerShell

Review the PowerShellGet module in Windows PowerShell

Run scripts and set the execution policy in Windows PowerShell

Review Windows PowerShell and AppLocker

Sign the scripts digitally in Windows PowerShell

Knowledge check

Summary

Work with scripting constructs in Windows PowerShell

Introduction

Review and use the ForEach loop in Windows PowerShell scripts

Review and use the If construct in Windows PowerShell scripts

Review and use the Switch construct in Windows PowerShell scripts

Review the For construct in Windows PowerShell scripts

Review other loop constructs in Windows PowerShell scripts

Review Break and Continue in Windows PowerShell scripts

Knowledge check

Summary

Import data in different formats for use in scripts by using Windows PowerShell cmdlets

Introduction

Use the Get-Content command in Windows PowerShell scripts

Use the Import-Csv cmdlet in Windows PowerShell scripts

Use the Import-Clixml cmdlet in Windows PowerShell scripts

Use the ConvertFrom-Json cmdlet in Windows PowerShell scripts

Knowledge check

Summary

Use methods to accept user inputs in Windows PowerShell scripts

Introduction

Identify values that might change in Windows PowerShell scripts

Use the Read-Host cmdlet in Windows PowerShell scripts

Use the Get-Credential cmdlet in Windows PowerShell scripts

Use the Out-GridView cmdlet in Windows PowerShell scripts

Pass parameters to a Windows PowerShell script

Knowledge check

Summary

Troubleshoot scripts and handle errors in Windows PowerShell

Introduction

Interpret error messages generated for Windows PowerShell commands

Add output to Windows PowerShell scripts

Use breakpoints in Windows PowerShell scripts

Interpret error actions for Windows PowerShell commands

Knowledge check

Summary

Use functions and modules in Windows PowerShell scripts

Introduction

Review functions in Windows PowerShell scripts

Use variable scope in Windows PowerShell scripts

Create modules in Windows PowerShell scripts

Use the dot sourcing feature in Windows PowerShell

Knowledge check

Summary

Create and modify scripts by using Windows PowerShell
 at 
Microsoft 
Entry Requirements

Eligibility criteriaUp Arrow Icon
Conditional OfferUp Arrow Icon
  • Not mentioned

Create and modify scripts by using Windows PowerShell
 at 
Microsoft 
Admission Process

    Important Dates

    Nov 30, 2024
    Course Commencement Date

    Other courses offered by Microsoft

    Free
    2 hours
    Intermediate
    Free
    4 hours
    Intermediate
    Free
    5 hours
    Beginner
    Free
    1 hours
    Beginner
    View Other 1171 CoursesRight Arrow Icon
    qna

    Create and modify scripts by using Windows PowerShell
     at 
    Microsoft 

    Student Forum

    chatAnything you would want to ask experts?
    Write here...