Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 339 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
339
Dung lượng
6,57 MB
Nội dung
[...]... Name : Microsoft .PowerShell. Core PSVersion : 1.0 Description : This WindowsPowerShell snap-in contains WindowsPowerShell management cmdlets used to manage components of WindowsPowerShell Name : Microsoft .PowerShell. Host PSVersion : 1.0 Description : This WindowsPowerShell snap-in contains cmdlets used by the WindowsPowerShell host Name PSVersion Description age Windows : Microsoft .PowerShell. Management... Summary 11 Chapter 2: Extending WindowsPowerShell 13 Types of PowerShell Snap-ins Creating a Standard PowerShell Snap-in 13 14 Writing a PowerShell Snap-in Registering Your PowerShell Snap-in Listing Available PowerShell Snap-ins Loading a PowerShell Snap-in to a Running Shell Removing a PowerShell Snap-in from a Running Shell Unregistering a PowerShell Snap-in Registering a PowerShell Snap-in without... Chapter 1: Introduction to PowerShell 1 WindowsPowerShell Design Principles 1 Preserve the Customer’s Existing Investment Provide a Powerful, Object-Oriented Shell Extensibility, Extensibility, Extensibility Tear Down the Barriers to Development A Quick Tour of WindowsPowerShell Cmdlets High-Level Architecture of WindowsPowerShell Host Application WindowsPowerShell Engine WindowsPowerShell Snap-ins 2... application involves implementing WindowsPowerShell host interfaces and using the WindowsPowerShell Runspace and Pipeline APIs to invoke commands Together, these two interfaces enable communication between the application and the WindowsPowerShell engine You’ll learn the details about writing a hosting application in Chapter 7 WindowsPowerShell Engine The WindowsPowerShell engine contains the core... Introduction to PowerShell Welcome to Windows PowerShell, the new object-based command-line interface shell and scripting language built on top of NET PowerShell provides improved control and automation of IT administration tasks for the Windows platform It is designed to make IT professionals and developers more productive Several books that introduce end-user IT professionals to WindowsPowerShell are... handling, and debugging and tracing capabilities A Quick Tour of WindowsPowerShell This section presents a quick tour of WindowsPowerShell We’ll start with a brief look at installing the program, and then move right into a discussion of cmdlets You start WindowsPowerShell either by clicking the Windows PowerShell shortcut link or by typing PowerShell in the Run dialog box (see Figure 1-1) Figure 1-1:... Microsoft .PowerShell. Management : 1.0 : This Windows PowerShell snap-in contains management cmdlets used to mancomponents Name : Microsoft .PowerShell. Security PSVersion : 1.0 Description : This Windows PowerShell snap-in contains cmdlets to manage Windows PowerShell security Name 10 : Microsoft .PowerShell. Utility 11:14am Page 10 Kumaravel c01.tex V2 - 01/07/2008 11:14am Chapter 1: Introduction to PowerShell PSVersion :... format metadata, and so on A WindowsPowerShell snap-in is a NET assembly that contains cmdlets, providers, and so on WindowsPowerShell comes with a set of basic snap-ins that offer all the basic cmdlets and providers built into the shell You write a snap-in when you want your cmdlets or providers to be part of the default WindowsPowerShell When a snap-in is loaded in Windows PowerShell, all cmdlets and... associated with writing command-line utilities, WindowsPowerShell enables developers to focus on the business logic of their application, rather than spend development time solving universal problems WindowsPowerShell Design Principles WindowsPowerShell was designed in response to years of customer feedback about the administrative experience on Microsoft Windows Early on, many users asked why some... Cmdlet Provider Interface PowerShell Snap-ins PowerShell Snap-ins Get-Process Application Cmdlets Get-Item File System Provider Registry Provider XML Provider Application Providers Figure 1-2: The high-level architecture of WindowsPowerShell Host Application The WindowsPowerShell engine is designed to be hostable in different application environments In order to make use of PowerShell functionality, . Windows PowerShell 3 Cmdlets 3 High-Level Architecture of Windows PowerShell 9 Host Application 9 Windows PowerShell Engine 10 Windows PowerShell Snap-ins 10 Summary 11 Chapter 2: Extending Windows. 8:43pm Page i Professional Windows PowerShell Programming Preface xvii Introduction xix Chapter 1: Introduction to PowerShell . . . . . . . . . . . . . 1 Chapter 2: Extending Windows PowerShell. Naixin Li is the Senior Test Lead working on the Windows PowerShell team and currently oversees the testing of Windows PowerShell 2.0. Before Windows PowerShell, Michael worked on vari- ous major