Packt

Mastering PowerShell Scripting

Packt

Mastering PowerShell Scripting

包含在 Coursera Plus

深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度
深入了解一个主题并学习基础知识。
初级 等级

推荐体验

2 周 完成
在 10 小时 一周
灵活的计划
自行安排学习进度

您将学到什么

  • 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 项作业

授课语言:英语(English)

了解顶级公司的员工如何掌握热门技能

Petrobras, TATA, Danone, Capgemini, P&G 和 L'Oreal 的徽标

该课程共有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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

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个作业

位教师

Packt - Course Instructors
Packt
1,763 门课程500,581 名学生

提供方

Packt

人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

自 2018开始学习的学生
''能够按照自己的速度和节奏学习课程是一次很棒的经历。只要符合自己的时间表和心情,我就可以学习。'

Jennifer J.

自 2020开始学习的学生
''我直接将从课程中学到的概念和技能应用到一个令人兴奋的新工作项目中。'

Larry W.

自 2021开始学习的学生
''如果我的大学不提供我需要的主题课程,Coursera 便是最好的去处之一。'

Chaitanya A.

''学习不仅仅是在工作中做的更好:它远不止于此。Coursera 让我无限制地学习。'
Coursera Plus

通过 Coursera Plus 开启新生涯

无限制访问 10,000+ 世界一流的课程、实践项目和就业就绪证书课程 - 所有这些都包含在您的订阅中

通过在线学位推动您的职业生涯

获取世界一流大学的学位 - 100% 在线

加入超过 3400 家选择 Coursera for Business 的全球公司

提升员工的技能,使其在数字经济中脱颖而出

常见问题