If you look closely at the ServiceController
members listed in the previous figure, you will notice a few members that aren't strictly properties, methods, or events. PowerShell has a mechanism called the Extended Type System that allows PowerShell to add members to classes or to individual objects. In the case of the SystemController
objects, PowerShell adds a Name
alias for the ServiceName
property and a RequiredServices
alias for the built-in ServicesDependedOn
property.
Getting Started with Powershell
Getting Started with Powershell
Overview of this book
Table of Contents (19 chapters)
Getting Started with PowerShell
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
First Steps
Building Blocks
Objects and PowerShell
Life on the Assembly Line
Formatting Output
Scripts
Functions
Modules
File I/O
WMI and CIM
Web Server Administration
Next Steps
Index
Customer Reviews