TAILIEUCHUNG - Bài giảng Kịch bản HDH: Module 9

Bài giảng Kịch bản HDH: Module 9 - Error Handling, Debugging and Modularization presented trap and handle run-time errors within a script; debug scripts using a variety of techniques and tools; modularize scripts by writing various types of functions. | Module 9 Error Handling, Debugging, and Modularization Module 9: Error Handling, Debugging, and Modularization Course 10325A Presentation: 190 minutes. Lab: 105 minutes. Required Materials To teach this module, you will need: The Microsoft Office PowerPoint file . The PowerShell ISE. Each of the PowerShell scripts located in /Module 9. Preparation Tasks for Demonstration: All demonstration scripts will be run from the virtual machine LON-DC1. Launch the PowerShell ISE and load each .ps1 file for this module into a separate tab. Use the PowerShell ISE to run associated PowerShell cmdlets as required for each demonstration, explaining to students the reason for its creation as well as the expected output. Within the PowerShell ISE, highlight a line to be executed, then right-click the highlighted line and choose Run Selection. This will run the highlighted PowerShell command, displaying the results in the panes below. More details and step-by-step instructions for each demonstration are found as comments within each demonstration’s associated .ps1 file. No additional instructions for demonstrations are provided within the instructor notes. Students will have access to demonstration scripts with all notes and built-in content in their Companion CD. You may consider having students launch the PowerShell ISE and pre-load each demo’s .ps1 file prior to beginning the module. This enables them to follow along with your demonstration using their own computer. Module Overview Trap and handle run-time errors within a script Debug scripts using a variety of techniques and tools Modularize scripts by writing various types of functions Module 9: Error Handling, Debugging, and Modularization Course 10325A Lesson 1: Variables, Arrays, Escaping, and More Operators Explain the purpose of the $ErrorActionPreference variable and the use of the –ErrorAction and –ErrorVariable parameters Write a trap construct to handle an error Write a Try Catch construct to .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.