This comprehensive guide covers both basic and advanced topics and tips to help you become adept at using PowerShell scripting, and act as a master reference.

推荐体验
推荐体验
初级
Ideal for system administrators and IT professionals looking to automate tasks using PowerShell. No prior experience with PowerShell is required.
推荐体验
推荐体验
初级
Ideal for system administrators and IT professionals looking to automate tasks using PowerShell. No prior experience with PowerShell is required.
您将学到什么
Optimize code using functions, switches, and looping structures
Debug scripts and handle errors effectively
Work with objects, operators, and data types to manipulate information
您将获得的技能
要了解的详细信息

添加到您的领英档案
May 2026
23 项作业
了解顶级公司的员工如何掌握热门技能

该课程共有23个模块
This module introduces the fundamentals of PowerShell, including its command structure, help system, and scripting environment. Learners will explore how to use specialized editors, discover and understand commands, utilize parameters and parameter sets, and streamline scripting with techniques like splatting. By the end, you'll be equipped to navigate and leverage PowerShell for system administration tasks.
涵盖的内容
1个视频10篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
10篇阅读材料•总计56分钟
- Introduction•4分钟
- PowerShell Editors•4分钟
- Get-Help Command•6分钟
- Save-Help•5分钟
- Command Naming and Discovery•4分钟
- Parameters, Values, and Parameter Sets•6分钟
- Parameter Sets•9分钟
- Force Parameter•5分钟
- Drives and Providers•6分钟
- Splatting to Avoid Repetition•7分钟
1个作业•总计16分钟
- PowerShell Basics and Help System Essentials•16分钟
This module introduces learners to PowerShell modules and snap-ins, detailing how to manage and extend PowerShell's capabilities. You will explore how to locate, install, and update modules using tools like PowerShellGet and understand the significance of the PSModulePath environment variable.
涵盖的内容
1个视频4篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
4篇阅读材料•总计21分钟
- Introduction•5分钟
- PSModulePath in PowerShell•5分钟
- Finding and Installing Modules•4分钟
- PowerShellGet 3.0•7分钟
1个作业•总计16分钟
- PowerShell Module and Snap-In Fundamentals•16分钟
This module introduces the foundational concepts of working with objects in PowerShell, including properties, methods, and members. Learners will gain hands-on experience manipulating, filtering, sorting, grouping, and comparing objects, as well as importing data from CSV files. By the end, you'll be able to efficiently manage and analyze collections of objects using key PowerShell commands.
涵盖的内容
1个视频9篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
9篇阅读材料•总计51分钟
- Introduction•5分钟
- Members•5分钟
- Using Methods•4分钟
- Enumerating and Filtering•6分钟
- Where-Object Command•9分钟
- Sort-Object Command•4分钟
- Grouping and Measuring•6分钟
- Comparing•6分钟
- Import-Csv Command•6分钟
1个作业•总计16分钟
- PowerShell Object Handling and Pipeline Concepts•16分钟
This module introduces the wide range of operators available in PowerShell, including mathematical, comparison, array, string, bitwise, type, and conditional operators. Learners will explore how to manipulate data, perform calculations, test conditions, and control output using these operators. Practical examples and syntax explanations will help you confidently use operators in real-world scripting scenarios.
涵盖的内容
1个视频10篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
10篇阅读材料•总计51分钟
- Introduction•4分钟
- Multiplication, Division, and Remainder Operators•6分钟
- Comparison Operators•5分钟
- Contains and in•5分钟
- Split•4分钟
- Binary Operators•4分钟
- Shift Left and Shift Right Operators•4分钟
- Type Operators•6分钟
- Redirection to Null•6分钟
- Ternary•7分钟
1个作业•总计16分钟
- PowerShell Operators and Their Applications•16分钟
This module introduces the fundamentals of working with variables, arrays, and Hashtables in PowerShell. Learners will explore variable management, type conversion, array manipulation, and the use of associative collections like Hashtables and Dictionaries. By the end, you'll be able to efficiently store, access, and modify data structures in PowerShell scripts.
涵盖的内容
1个视频10篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
10篇阅读材料•总计52分钟
- Introduction•5分钟
- Variable Commands•4分钟
- Variable Provider•5分钟
- Numeric Scopes•4分钟
- Types and Type Conversion•5分钟
- Arrays•5分钟
- Selecting Elements from an Array•6分钟
- Multi-Dimensional and Jagged Arrays•6分钟
- Removing Elements from a Hashtable•5分钟
- System.Collections.Generic.Dictionary•7分钟
1个作业•总计16分钟
- PowerShell Data Structures and Variable Behavior•16分钟
This module introduces the fundamental concepts of conditional statements and loops, essential tools for controlling program flow. Learners will explore how to make decisions in code, repeat actions efficiently, and manage loop execution using keywords like break and continue.
涵盖的内容
1个视频4篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
4篇阅读材料•总计22分钟
- Introduction•6分钟
- Script Block Cases•4分钟
- Loops•6分钟
- Loops, Break, and Continue•6分钟
1个作业•总计16分钟
- Control Flow Fundamentals•16分钟
This module introduces the foundational concepts of working with Microsoft .NET in PowerShell, including types, methods, and the use of keywords like 'using' and type accelerators. Learners will explore how to interact with .NET objects, utilize namespaces, and access both public and non-public members through reflection. By the end, you'll be equipped to leverage .NET libraries effectively within your scripts.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
6篇阅读材料•总计33分钟
- Introduction•6分钟
- Types•4分钟
- Using Keyword•4分钟
- Type Accelerators•5分钟
- Methods•6分钟
- Reflection in PowerShell•8分钟
1个作业•总计16分钟
- Exploring .NET and PowerShell Fundamentals•16分钟
This module introduces essential techniques for handling strings, numbers, and dates in PowerShell, leveraging the .NET Framework. Learners will explore methods for manipulating and converting data types, including working with arrays, Base64 encoding, and culture-specific date formats. By the end, you'll be equipped to efficiently process and transform simple data types in PowerShell scripts.
涵盖的内容
1个视频7篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
7篇阅读材料•总计38分钟
- Introduction•6分钟
- Trim, TrimStart, and TrimEnd•6分钟
- String Methods and Arrays•4分钟
- Converting Strings•6分钟
- Working with Base64•6分钟
- Manipulating Dates and Times•6分钟
- DateTime Parameters•4分钟
1个作业•总计16分钟
- Strings, Numbers, and Dates in Programming•16分钟
This module introduces the fundamentals of regular expressions, including syntax, special characters, and advanced features like look-ahead and look-behind. Learners will explore how to construct, modify, and apply regex patterns for tasks such as text searching, value capturing, and data validation. Practical examples, such as matching IP addresses, help solidify understanding and application.
涵盖的内容
1个视频9篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
9篇阅读材料•总计44分钟
- Introduction•5分钟
- The Escape Character•4分钟
- Anchors•5分钟
- Character Classes•6分钟
- Alternation•4分钟
- Capturing Values•4分钟
- Look-ahead and Look-behind•5分钟
- Regex Options•5分钟
- IP Addresses•6分钟
1个作业•总计16分钟
- Mastering Regular Expression Constructs•16分钟
This module introduces learners to managing files, folders, and the Windows Registry using PowerShell providers. You will explore how to manipulate items and their properties, configure permissions and access control lists, and manage ownership within the filesystem and registry contexts.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
6篇阅读材料•总计32分钟
- Introduction•6分钟
- Items•4分钟
- Item Properties•4分钟
- Windows Permissions•5分钟
- Removing ACEs•6分钟
- Ownership•7分钟
1个作业•总计16分钟
- Navigating Files, Folders, and the Registry•16分钟
This module introduces the fundamentals of Windows Management Instrumentation (WMI), including its architecture, querying with WQL, and interacting with system information and methods. Learners will explore how to retrieve and manipulate system data, manage permissions, and understand class associations within WMI using PowerShell.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
6篇阅读材料•总计34分钟
- Introduction•5分钟
- Calling Methods•6分钟
- The WMI Query Language•5分钟
- Associated Classes•5分钟
- Calling Methods•9分钟
- WMI Permissions•4分钟
1个作业•总计16分钟
- Exploring WMI and CIM Technologies•16分钟
This module introduces the essential PowerShell commands and .NET classes for working with HTML, XML, and JSON data formats. Learners will explore how to parse, manipulate, and convert structured data using practical examples and built-in tools. By the end, you'll be able to efficiently handle data serialization and transformation tasks in PowerShell.
涵盖的内容
1个视频7篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
7篇阅读材料•总计36分钟
- Introduction•5分钟
- XML Commands•5分钟
- System.Xml•6分钟
- Removing Elements and Attributes•6分钟
- System.Xml.Linq•5分钟
- JSON•5分钟
- ConvertFrom-Json•4分钟
1个作业•总计16分钟
- Data Format Fundamentals•16分钟
This module explores the fundamentals of interacting with web APIs using REST and SOAP, including handling authentication with OAuth and managing SSL errors in PowerShell 7. Learners will gain practical experience making web requests, passing arguments, and working with WSDL documents for SOAP services.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
6篇阅读材料•总计31分钟
- Introduction•6分钟
- Capturing SSL Errors•4分钟
- Requests with Arguments•6分钟
- OAuth•4分钟
- Working with SOAP•7分钟
- SOAP in PowerShell 7•4分钟
1个作业•总计16分钟
- Web Communication Fundamentals•16分钟
This module explores the fundamentals of PowerShell remoting, including secure remote connections, session management, and cross-platform considerations. Learners will gain practical skills in configuring encrypted remoting, managing user permissions, and troubleshooting common issues such as the double-hop problem. The module also introduces advanced concepts like Just Enough Administration for delegated access.
涵盖的内容
1个视频8篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
8篇阅读材料•总计39分钟
- Introduction•4分钟
- Remoting and SSL•7分钟
- User Account Control•4分钟
- Invoke-Command•6分钟
- Copying Items Between Sessions•5分钟
- Connecting from Linux to Windows•4分钟
- The Double-Hop Problem•5分钟
- Just Enough Administration•4分钟
1个作业•总计16分钟
- PowerShell Remoting and Remote Management Fundamentals•16分钟
This module explores how to execute PowerShell commands asynchronously, enabling you to run multiple tasks simultaneously for improved efficiency. You'll learn about jobs, runspaces, event handling, and techniques for managing variables and multiple instances in asynchronous workflows.
涵盖的内容
1个视频5篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
5篇阅读材料•总计31分钟
- Introduction•6分钟
- Jobs and Using Scope Modifier•5分钟
- Reacting to Events•6分钟
- Using Runspaces and Runspace Pools•6分钟
- Running Multiple Instances•8分钟
1个作业•总计16分钟
- PowerShell Asynchronous Processing Concepts•16分钟
This module introduces the fundamentals of building graphical user interfaces (GUIs) in PowerShell using Windows Presentation Foundation (WPF). Learners will explore layout controls, event handling, element naming, and techniques for creating responsive and interactive interfaces. Practical examples demonstrate how to arrange UI elements, handle user actions, and manage interface responsiveness.
涵盖的内容
1个视频7篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
7篇阅读材料•总计34分钟
- Introduction•4分钟
- Layout•5分钟
- Using the DockPanel Control•5分钟
- Naming and Locating Elements•5分钟
- Buttons and the Click Event•4分钟
- Sorting a ListView•4分钟
- Responsive Interfaces•7分钟
1个作业•总计16分钟
- Navigating UI Components and Layouts•16分钟
This module introduces the foundational elements of PowerShell scripting, including the use of scripts, functions, and script blocks. Learners will explore parameter handling, advanced function attributes, output management, and best practices for writing maintainable code. The module also covers techniques for documentation and code readability.
涵盖的内容
1个视频9篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
9篇阅读材料•总计43分钟
- Introduction•4分钟
- Capabilities of Scripts, Functions, and Script Blocks•4分钟
- Parameters and the Param Block•4分钟
- CmdletBinding Attribute•8分钟
- The Alias Attribute•5分钟
- Cleanup•4分钟
- Managing Output•5分钟
- Working with Long Lines•4分钟
- Comment-based Help•5分钟
1个作业•总计16分钟
- PowerShell Scripting Fundamentals•16分钟
This module explores advanced parameter handling in PowerShell, including validation techniques, dynamic parameters, and argument completers. Learners will discover how to control parameter input, enforce validation rules, and implement flexible parameter sets to enhance script functionality.
涵盖的内容
1个视频9篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
9篇阅读材料•总计49分钟
- Introduction•6分钟
- ValueFromRemainingArguments Property•5分钟
- Validation Attributes•4分钟
- ValidateLength Attribute•6分钟
- PSReference Parameters•5分钟
- Using ValueFromPipeline for Multiple Parameters•6分钟
- Defining Parameter Sets•4分钟
- Argument Completers•5分钟
- Dynamic Parameters•8分钟
1个作业•总计16分钟
- PowerShell Parameters and Validation•16分钟
This module introduces the fundamentals of creating and using classes and enumerations in PowerShell, including inheritance, interfaces, and custom validation attributes. Learners will explore how to leverage these features for more robust scripting and configuration management, including integration with Desired State Configuration (DSC). Practical examples demonstrate how to implement and utilize these advanced object-oriented concepts in real-world scenarios.
涵盖的内容
1个视频9篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
9篇阅读材料•总计46分钟
- Introduction•6分钟
- Flags Attribute•5分钟
- Creating a Class•6分钟
- Inheritance•5分钟
- Working with Interfaces•5分钟
- Supporting Casting•5分钟
- Validation Attribute Classes•5分钟
- Classes and DSC•5分钟
- Using the Resource•4分钟
1个作业•总计16分钟
- PowerShell Object-Oriented Concepts•16分钟
This module introduces the fundamentals of creating, managing, and publishing PowerShell modules. Learners will explore module manifests, understand how to merge and structure module content, and practice initializing and removing modules for effective automation and code organization.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
6篇阅读材料•总计31分钟
- Introduction•6分钟
- Module Manifests•4分钟
- Publishing a Module•6分钟
- Merging Module Content•5分钟
- Accessing Module Scope•4分钟
- Initializing and Removing Modules•6分钟
1个作业•总计16分钟
- PowerShell Module Fundamentals•16分钟
This module introduces automated testing in PowerShell, focusing on tools and techniques such as PSScriptAnalyzer, the Abstract Syntax Tree (AST), tokenization, and the Pester testing framework. Learners will explore how to structure, execute, and iterate tests, as well as how to use mocking and module scope features to enhance test coverage and reliability.
涵盖的内容
1个视频9篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
9篇阅读材料•总计62分钟
- Introduction•6分钟
- Using AST•7分钟
- Tokenizer•5分钟
- Testing with Pester•6分钟
- Describing Tests•6分钟
- Iteration with Pester•6分钟
- Pester Phases•13分钟
- Mocking Objects•8分钟
- InModuleScope•5分钟
1个作业•总计16分钟
- Testing Fundamentals and Techniques•16分钟
This module explores how PowerShell handles errors, including the distinction between terminating and non-terminating errors. Learners will discover various techniques for raising, capturing, and managing errors using parameters, variables, and control statements. By the end, you'll be equipped to diagnose and respond to unexpected conditions in your scripts.
涵盖的内容
1个视频7篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
7篇阅读材料•总计33分钟
- Introduction•4分钟
- Error Actions•5分钟
- Raising Non-Terminating Errors•4分钟
- Catching Errors•5分钟
- Rethrowing Errors•6分钟
- Throw and Error Action•5分钟
- About Trap•4分钟
1个作业•总计16分钟
- Mastering Error Handling in PowerShell•16分钟
This module explores essential debugging techniques and troubleshooting strategies for PowerShell scripts. Learners will discover how to identify and resolve common issues related to operators, variables, and named blocks, and will gain hands-on experience using debugging tools in both the console and Visual Studio Code.
涵盖的内容
1个视频6篇阅读材料1个作业
1个视频•总计1分钟
- Overview•1分钟
6篇阅读材料•总计30分钟
- Introduction•4分钟
- Operator Usage•4分钟
- Use of Named Blocks•4分钟
- Problems with Variables•6分钟
- Debugging in the Console•5分钟
- Debugging in Visual Studio Code•7分钟
1个作业•总计16分钟
- Mastering Debugging and Scripting in PowerShell•16分钟
位教师

提供方

提供方

Packt helps tech professionals put software to work by distilling and sharing the working knowledge of their peers. Packt is an established global technical learning content provider, founded in Birmingham, UK, with over twenty years of experience delivering premium, rich content from groundbreaking authors on a wide range of emerging and popular technologies.
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
常见问题
Yes, you can preview the first video and view the syllabus before you enroll. You must purchase the course to access content not included in the preview.
If you decide to enroll in the course before the session start date, you will have access to all of the lecture videos and readings for the course. You’ll be able to submit assignments once the session starts.
Once you enroll and your session begins, you will have access to all videos and other resources, including reading items and the course discussion forum. You’ll be able to view and submit practice assessments, and complete required graded assignments to earn a grade and a Course Certificate.
If you complete the course successfully, your electronic Course Certificate will be added to your Accomplishments page - from there, you can print your Course Certificate or add it to your LinkedIn profile.
This course is currently available only to learners who have paid or received financial aid, when available.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
更多问题
提供助学金,

